drm/ingenic: Add support for 30-bit modes
authorPaul Cercueil <paul@crapouillou.net>
Sat, 26 Sep 2020 17:05:00 +0000 (19:05 +0200)
committerPaul Cercueil <paul@crapouillou.net>
Sat, 26 Sep 2020 19:55:36 +0000 (21:55 +0200)
commitbb85760572ca24a76c3de644ce45cfb69f5a731a
tree4fd938e21608c360efc7f4f08c431ef9584cd0c2
parent3d705fb0dc43a91095de3ebc30914e50b0e20b2f
drm/ingenic: Add support for 30-bit modes

Starting from the JZ4760 SoC, the primary and overlay planes support
30-bit pixel modes (10 bits per color component). Add support for these
in the ingenic-drm driver.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200926170501.1109197-7-paul@crapouillou.net
drivers/gpu/drm/ingenic/ingenic-drm-drv.c
drivers/gpu/drm/ingenic/ingenic-drm.h