Hi all,
This changes the intelfb driver to use the default modedb table instead of the VESA mode table.
regards,
dennis
---
From: Dennis Munsie <redacted>
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 <redacted>
---
drivers/video/intelfb/intelfbdrv.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff -Naurp -X linux-2.6.17-rc4-9xx-stride/Documentation/dontdiff linux-2.6.17-rc4-9xx-stride/drivers/video/intelfb/intelfbdrv.c linux-2.6.17-rc4-use-default-modedb-table/drivers/video/intelfb/intelfbdrv.c
--- linux-2.6.17-rc4-9xx-stride/drivers/video/intelfb/intelfbdrv.c 2006-05-25 16:18:15.000000000 -0500
+++ linux-2.6.17-rc4-use-default-modedb-table/drivers/video/intelfb/intelfbdrv.c 2006-05-25 16:19:51.000000000 -0500
@@ -1059,8 +1059,7 @@ intelfb_init_var(struct intelfb_info *di
"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;
@@ -1070,8 +1069,7 @@ intelfb_init_var(struct intelfb_info *di
if (!msrc) {
msrc = fb_find_mode(var, dinfo->info, PREFERRED_MODE,
- vesa_modes, VESA_MODEDB_SIZE,
- NULL, 0);
+ NULL, 0, NULL, 0);
}
}
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642