* [PATCH 2.6.19 4/6] tgafb: Fix the mode register setting
@ 2006-12-13 17:10 macro
0 siblings, 0 replies; only message in thread
From: macro @ 2006-12-13 17:10 UTC (permalink / raw)
There is no need to set the GE bit (Win32 compatibility) in the mode
register; it shall get cleared with the next subsequent update to the
register anyway.
Signed-off-by: Maciej W. Rozycki <macro at linux-mips.org>
---
The driver uses a number of magic constants throughout. The hardware is
fully documented, so my plan is to fix up them all and provide macros for
all the used bits and perhaps more once I have finished with updating the
driver.
Please apply.
Maciej
patch-mips-2.6.18-20060920-tgafb-mode-1
diff -up --recursive --new-file linux-mips-2.6.18-20060920.macro/drivers/video/tgafb.c linux-mips-2.6.18-20060920/drivers/video/tgafb.c
--- linux-mips-2.6.18-20060920.macro/drivers/video/tgafb.c 2006-09-20 20:50:52.000000000 +0000
+++ linux-mips-2.6.18-20060920/drivers/video/tgafb.c 2006-12-12 05:15:28.000000000 +0000
@@ -136,10 +136,10 @@ tgafb_set_par(struct fb_info *info)
0x00000303
};
static unsigned int const mode_presets[4] = {
- 0x00002000,
- 0x00002300,
+ 0x00000000,
+ 0x00000300,
0xffffffff,
- 0x00002300
+ 0x00000300
};
static unsigned int const base_addr_presets[4] = {
0x00000000,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-12-13 17:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-13 17:10 [PATCH 2.6.19 4/6] tgafb: Fix the mode register setting macro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox