]> git.baikalelectronics.ru Git - kernel.git/commit
drm/stm: ltdc: add support of flexible pixel formats
authorYannick Fertre <yannick.fertre@foss.st.com>
Wed, 15 Dec 2021 21:48:35 +0000 (22:48 +0100)
committerPhilippe Cornu <philippe.cornu@foss.st.com>
Thu, 13 Jan 2022 13:06:22 +0000 (14:06 +0100)
commit5a68828c70a46fbe278f25696cceb3d6e489a500
treeab40a5f52ce33e86493763cbfde7157ac3256d25
parent2ff8fedf6999a1f579531445729eaa52ab1eb5b1
drm/stm: ltdc: add support of flexible pixel formats

This feature allows the generation of any RGB pixel format.
The list of supported formats is no longer linked to the
register LXPFCR_PF, that the reason why a list of drm formats is
defined for each display controller version.

Signed-off-by: Yannick Fertre <yannick.fertre@foss.st.com>
Acked-by: Philippe Cornu <philippe.cornu@foss.st.com>
Reviewed-by: Philippe Cornu <philippe.cornu@foss.st.com>
Reviewed-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Tested-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Signed-off-by: Philippe Cornu <philippe.cornu@foss.st.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211215214835.20593-1-yannick.fertre@foss.st.com
drivers/gpu/drm/stm/ltdc.c
drivers/gpu/drm/stm/ltdc.h