video: fbdev: pmag-ba-fb: Optimize Bt455 colormap addressing
authorMaciej W. Rozycki <macro@linux-mips.org>
Mon, 22 Feb 2016 01:55:27 +0000 (01:55 +0000)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 26 Feb 2016 11:06:11 +0000 (13:06 +0200)
commit5832706e8b50bab3fce1b4bad62b356554b851e4
tree95bd825327984824f38adc9828225e0e4d1031cd
parent01ac59c34420d5807724a5bb21c1464e6dfb7a92
video: fbdev: pmag-ba-fb: Optimize Bt455 colormap addressing

Use the address autoincrement feature when accessing successive palette
entries and also skip loading a palette address in overlay register
assesses which do not use that address.  Provide a red/green/blue
register sequencer reset helper for use in overlay register assesses
where the state of the sequencer is not known.

References:

[1] "Bt454 Bt455 170 MHz Monolithic CMOS 16 Color Palette RAMDAC",
    Brooktree Corporation, Document Number: L454001, Rev. I

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/bt455.h
drivers/video/fbdev/pmag-aa-fb.c