drm/ingenic: Add support for 24-bit modes
authorPaul Cercueil <paul@crapouillou.net>
Sat, 26 Sep 2020 17:05:01 +0000 (19:05 +0200)
committerPaul Cercueil <paul@crapouillou.net>
Sat, 26 Sep 2020 19:56:04 +0000 (21:56 +0200)
commitdba09e834f4ee6121346f2a7d40b7ee96d0b4b77
tree52a9976657d20b09f7ceefab31b888d42f46a94d
parentbb85760572ca24a76c3de644ce45cfb69f5a731a
drm/ingenic: Add support for 24-bit modes

Starting from the JZ4725B SoC, the primary and overlay planes support
24-bit pixel modes (8 bits per color component, without dummy byte).
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-8-paul@crapouillou.net
drivers/gpu/drm/ingenic/ingenic-drm-drv.c
drivers/gpu/drm/ingenic/ingenic-drm.h