Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf26e6d2 authored by Mikulas Patocka's avatar Mikulas Patocka Committed by Tomi Valkeinen
Browse files

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: default avatarMikulas Patocka <mpatocka@redhat.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 00a9d699
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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;
	h_sync_pol = sync & FB_SYNC_HOR_HIGH_ACT ? 0 : 1;
	v_sync_pol = sync & FB_SYNC_VERT_HIGH_ACT ? 0 : 1;
	v_sync_pol = sync & FB_SYNC_VERT_HIGH_ACT ? 0 : 1;


	if ((xres > 1600) || (yres > 1200)) {
	if ((xres > 1920) || (yres > 1200)) {
		FAIL("MACH64 chips are designed for max 1600x1200\n"
		FAIL("MACH64 chips are designed for max 1920x1200\n"
		     "select another resolution.");
		     "select another resolution.");
	}
	}
	h_sync_strt = h_disp + var->right_margin;
	h_sync_strt = h_disp + var->right_margin;