cirrusfb: Laguna chipset 8bpp fix
Fix 8bpp mode by adding handling of the Laguna chipsets to various places and stop trashing a HDR register which probably does not exist on the Laguna. Fix compilation warnings about uninitialized variables also. Finally, all 8bpp, 16bpp and 32bpp modes work on the Laguna chipset. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
48c329e906
commit
1b48cb563d
@@ -32,7 +32,6 @@
|
||||
#define CL_VSSM2 0x3c3 /* Motherboard Sleep */
|
||||
|
||||
/*** VGA Sequencer Registers ***/
|
||||
#define CL_SEQR0 0x0 /* Reset */
|
||||
/* the following are from the "extension registers" group */
|
||||
#define CL_SEQR6 0x6 /* Unlock ALL Extensions */
|
||||
#define CL_SEQR7 0x7 /* Extended Sequencer Mode */
|
||||
|
Reference in New Issue
Block a user