summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2016-02-22 01:55:21 +0000
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-02-26 13:06:11 +0200
commit01ac59c34420d5807724a5bb21c1464e6dfb7a92 (patch)
tree3fa78bdc46ec0b5afbc3854ba9ef7a917fbf5305 /lib/mpi/mpi-internal.h
parente26d682e929d2e4141a4e08d7acc320896289b62 (diff)
downloadlinux-01ac59c34420d5807724a5bb21c1464e6dfb7a92.tar.gz
linux-01ac59c34420d5807724a5bb21c1464e6dfb7a92.tar.xz
video: fbdev: pmag-ba-fb: Fix and rework Bt455 colormap handling
The Bt455 is a greyscale RAMDAC, using the green color palette entries only while still providing registers for the red and blue components, all the three of which have to be loaded on palette updates. Chip documentation [1] mandates that the unused red and blue registers are written with 0. Therefore update code to follow this requirement and given that it makes the red and blue components unusable remove them from internal API calls altogether. 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>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions