Commit 7a532c69 authored by Dennis Munsie's avatar Dennis Munsie Committed by Dave Airlie

intelfb: use regular modedb table instead of VESA

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 56e004e5
...@@ -1059,8 +1059,7 @@ intelfb_init_var(struct intelfb_info *dinfo) ...@@ -1059,8 +1059,7 @@ intelfb_init_var(struct intelfb_info *dinfo)
"intelfb: looking for mode in global " "intelfb: looking for mode in global "
"database "); "database ");
msrc = fb_find_mode(var, dinfo->info, mode, msrc = fb_find_mode(var, dinfo->info, mode,
vesa_modes, NULL, 0, NULL, 0);
VESA_MODEDB_SIZE, NULL, 0);
if (msrc) if (msrc)
msrc |= 8; msrc |= 8;
...@@ -1070,8 +1069,7 @@ intelfb_init_var(struct intelfb_info *dinfo) ...@@ -1070,8 +1069,7 @@ intelfb_init_var(struct intelfb_info *dinfo)
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);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment