2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00
linux-next/drivers/gpu/drm/pl111
Linus Walleij 43f847d0b9 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 <dt.tangr@gmail.com>
Cc: Fabian Vogt <fabian@ritter-vogt.de>
Tested-by: Fabian Vogt <fabian@ritter-vogt.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190805085847.25554-2-linus.walleij@linaro.org
2019-08-09 09:15:05 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile drm/pl111: Support Nomadik LCDC variant 2018-07-01 21:36:47 +02:00
pl111_debugfs.c Linus 5.3-rc1 2019-07-22 21:24:10 +02:00
pl111_display.c drm/pl111: Support grayscale 2019-08-09 09:15:05 +02:00
pl111_drm.h drm/pl111: drop use of drmP.h 2019-07-17 12:52:38 +02:00
pl111_drv.c drm/pl111: drop use of drmP.h 2019-07-17 12:52:38 +02:00
pl111_nomadik.c drm/pl111: Support Nomadik LCDC variant 2018-07-01 21:36:47 +02:00
pl111_nomadik.h drm/pl111: drop use of drmP.h 2019-07-17 12:52:38 +02:00
pl111_versatile.c drm/pl111: drop use of drmP.h 2019-07-17 12:52:38 +02:00
pl111_versatile.h drm/pl111: drop use of drmP.h 2019-07-17 12:52:38 +02:00
pl111_vexpress.c drm/pl111: pl111_vexpress.c: Add of_node_put() before return 2019-07-15 16:26:43 -07:00
pl111_vexpress.h drm/pl111: Fix module probe bug 2018-05-04 00:13:41 +02:00