summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2014-01-23 14:40:28 -0500
committerTomi Valkeinen <tomi.valkeinen@ti.com>2014-02-11 15:01:04 +0200
commitbf26e6d2fed45da619ae0ef675a09b794db6e449 (patch)
treea635fcbc8ffe03b54bf30f3a26ed86b72c13a9d8
parent00a9d699bc85052d2d3ed56251cd928024ce06a3 (diff)
downloadlinux-bf26e6d2fed45da619ae0ef675a09b794db6e449.tar.gz
linux-bf26e6d2fed45da619ae0ef675a09b794db6e449.tar.xz
atyfb: remove resolution limit 1600
The card works fine in 1980x1080 resolution. Therefore, there is no need to limit the resolution to 1600 pixels. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r--drivers/video/aty/atyfb_base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c
index 28fafbf864a5..5d7672cf2c70 100644
--- a/drivers/video/aty/atyfb_base.c
+++ b/drivers/video/aty/atyfb_base.c
@@ -862,8 +862,8 @@ static int aty_var_to_crtc(const struct fb_info *info,
h_sync_pol = sync & FB_SYNC_HOR_HIGH_ACT ? 0 : 1;
v_sync_pol = sync & FB_SYNC_VERT_HIGH_ACT ? 0 : 1;
- if ((xres > 1600) || (yres > 1200)) {
- FAIL("MACH64 chips are designed for max 1600x1200\n"
+ if ((xres > 1920) || (yres > 1200)) {
+ FAIL("MACH64 chips are designed for max 1920x1200\n"
"select another resolution.");
}
h_sync_strt = h_disp + var->right_margin;