]> git.baikalelectronics.ru Git - kernel.git/commit
drm/pl111: Handle the Versatile RGB/BGR565 mode
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 6 Feb 2018 09:35:37 +0000 (10:35 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 7 Feb 2018 08:08:34 +0000 (09:08 +0100)
commit9f7564f9d4fa0b5b2241ef52a163b6113983b7ab
tree45ef74df0ff4b2afc486ce24e0e1f17ba1ffa3e4
parenta4ebc3273e7fc6b94e4fd253da13142d7b59b7af
drm/pl111: Handle the Versatile RGB/BGR565 mode

The ARM Versatile series can do RGB/BGR565 with an external
"PLD" (Programmable Logical Device). However the CLCD does not
have control bits for this, so it needs to be set into the
ordinary 16BPP mode, then the RGB/BGR565 handling of the pixel
data is handled by configuring the PLD through the external
register.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180206093540.8147-2-linus.walleij@linaro.org
drivers/gpu/drm/pl111/pl111_display.c