Skip to content

Commit

Permalink
intelfb: use regular modedb table instead of VESA
Browse files Browse the repository at this point in the history
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: Dennis Munsie <dmunsie@cecropia.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
  • Loading branch information
Dennis Munsie authored and Dave Airlie committed May 29, 2006
1 parent 56e004e commit 7a532c6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions drivers/video/intelfb/intelfbdrv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1059,8 +1059,7 @@ intelfb_init_var(struct intelfb_info *dinfo)
"intelfb: looking for mode in global "
"database ");
msrc = fb_find_mode(var, dinfo->info, mode,
vesa_modes,
VESA_MODEDB_SIZE, NULL, 0);
NULL, 0, NULL, 0);

if (msrc)
msrc |= 8;
Expand All @@ -1070,8 +1069,7 @@ intelfb_init_var(struct intelfb_info *dinfo)

if (!msrc) {
msrc = fb_find_mode(var, dinfo->info, PREFERRED_MODE,
vesa_modes, VESA_MODEDB_SIZE,
NULL, 0);
NULL, 0, NULL, 0);
}
}

Expand Down

0 comments on commit 7a532c6

Please sign in to comment.