aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/panel/panel-simple.c
diff options
context:
space:
mode:
authorLinus Walleij <[email protected]>2019-08-05 10:58:44 +0200
committerLinus Walleij <[email protected]>2019-08-09 09:15:05 +0200
commit43f847d0b9540dd1de4cfd626448fb4294422874 (patch)
tree255328cc402c1c35f36e2305e98f289ae5d3d265 /drivers/gpu/drm/panel/panel-simple.c
parent013b6510131568ce4e01856d5360bfdfe9c3632f (diff)
drm/pl111: Support grayscale
Migrating the TI nspire calculators to use the PL111 driver for framebuffer requires grayscale support for the elder panel which uses 8bit grayscale only. DRM does not support 8bit grayscale framebuffers in memory, but by defining the bus format to be MEDIA_BUS_FMT_Y8_1X8 we can get the hardware to turn on a grayscaling feature and convert the RGB framebuffer to grayscale for us. Cc: Daniel Tang <[email protected]> Cc: Fabian Vogt <[email protected]> Tested-by: Fabian Vogt <[email protected]> Acked-by: Sam Ravnborg <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/panel/panel-simple.c')
0 files changed, 0 insertions, 0 deletions