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

Commit 2c47430a authored by Dennis Munsie's avatar Dennis Munsie Committed by Dave Airlie
Browse files

intelfb driver -- use the regular modedb table instead of the VESA


modedb table.  Ideally, the 9xx stride patch should be applied first, since
there are modes in the VESA table that won't work without that patch.

Signed-off-by: default avatarDennis Munsie <dmunsie@cecropia.com>
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent 1aecb393
Loading
Loading
Loading
Loading
+2 −4
Original line number Original line Diff line number Diff line
@@ -1033,15 +1033,13 @@ intelfb_init_var(struct intelfb_info *dinfo)
	} else {
	} else {
		if (mode) {
		if (mode) {
			msrc = fb_find_mode(var, dinfo->info, mode,
			msrc = fb_find_mode(var, dinfo->info, mode,
					    vesa_modes, VESA_MODEDB_SIZE,
					    NULL, 0, NULL, 0);
					    NULL, 0);
			if (msrc)
			if (msrc)
				msrc |= 8;
				msrc |= 8;
		}
		}
		if (!msrc) {
		if (!msrc) {
			msrc = fb_find_mode(var, dinfo->info, PREFERRED_MODE,
			msrc = fb_find_mode(var, dinfo->info, PREFERRED_MODE,
					    vesa_modes, VESA_MODEDB_SIZE,
					    NULL, 0, NULL, 0);
					    NULL, 0);
		}
		}
	}
	}