diff options
author | Dennis Munsie <dmunsie@cecropia.com> | 2006-05-29 04:58:09 -0400 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-05-29 04:58:09 -0400 |
commit | 7a532c69c37dbb46bfd0276160e624f06552adfc (patch) | |
tree | f397e591c22fc727c0784d0754f22f4a09de476b | |
parent | 56e004e5435c008728b1444b51d757da2e098976 (diff) |
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: Dennis Munsie <dmunsie@cecropia.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
-rw-r--r-- | drivers/video/intelfb/intelfbdrv.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/video/intelfb/intelfbdrv.c b/drivers/video/intelfb/intelfbdrv.c index dfe2abc63aad..85bf55897f77 100644 --- a/drivers/video/intelfb/intelfbdrv.c +++ b/drivers/video/intelfb/intelfbdrv.c | |||
@@ -1059,8 +1059,7 @@ intelfb_init_var(struct intelfb_info *dinfo) | |||
1059 | "intelfb: looking for mode in global " | 1059 | "intelfb: looking for mode in global " |
1060 | "database "); | 1060 | "database "); |
1061 | msrc = fb_find_mode(var, dinfo->info, mode, | 1061 | msrc = fb_find_mode(var, dinfo->info, mode, |
1062 | vesa_modes, | 1062 | NULL, 0, NULL, 0); |
1063 | VESA_MODEDB_SIZE, NULL, 0); | ||
1064 | 1063 | ||
1065 | if (msrc) | 1064 | if (msrc) |
1066 | msrc |= 8; | 1065 | msrc |= 8; |
@@ -1070,8 +1069,7 @@ intelfb_init_var(struct intelfb_info *dinfo) | |||
1070 | 1069 | ||
1071 | if (!msrc) { | 1070 | if (!msrc) { |
1072 | msrc = fb_find_mode(var, dinfo->info, PREFERRED_MODE, | 1071 | msrc = fb_find_mode(var, dinfo->info, PREFERRED_MODE, |
1073 | vesa_modes, VESA_MODEDB_SIZE, | 1072 | NULL, 0, NULL, 0); |
1074 | NULL, 0); | ||
1075 | } | 1073 | } |
1076 | } | 1074 | } |
1077 | 1075 | ||