OSDN Git Service

drm/exynos: fimd: add BGR support for exynos4/5
authorMartin Jücker <martin.juecker@gmail.com>
Sat, 29 Jan 2022 22:01:53 +0000 (23:01 +0100)
committerInki Dae <inki.dae@samsung.com>
Fri, 4 Mar 2022 08:13:52 +0000 (17:13 +0900)
commit2d684f4e155c1e80ff63bd503930171c460eac5b
tree7d5e4f64962318b1a665b246e0ba6e1f0c986f7f
parentfedc89821990013608bc210c9aef5bb33a1345a7
drm/exynos: fimd: add BGR support for exynos4/5

In the downstream kernels for exynos4 and exynos5 devices, there is an
undocumented register that controls the order of the RGB output. It can
be set to either normal order or reversed, which enables BGR support for
those SoCs.

This patch enables the BGR support for all the SoCs that were found to
have at least one device with this logic in the corresponding downstream
kernels.

Signed-off-by: Martin Jücker <martin.juecker@gmail.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fimd.c
include/video/samsung_fimd.h