[PATCH] tgafb: support the DirectColor visual
authorMaciej W. Rozycki <macro@linux-mips.org>
Mon, 12 Feb 2007 08:54:54 +0000 (00:54 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 12 Feb 2007 17:48:41 +0000 (09:48 -0800)
commitbe6011831c74d5db251b5f9746d259a5f59e71cf
treeca34dfd81c61cc3a8794f9ada3803ab1ed865a64
parent36f71405e63f3d1e4c2a8dd98523820bbca8e078
[PATCH] tgafb: support the DirectColor visual

 The 32-plane variations of the TGA use the Bt463 RAMDAC and are therefore
DirectColor rather than TrueColor adapters.  This is a set of changes to
implement the necessary bits to support this model.  A couple of fixes to fix
accesses to the RAMDAC are included as a side-effect.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: James Simmons <jsimmons@infradead.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/tgafb.c