]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/bridge: samsung-dsim: allow configuring the VIDEO_MODE bit
authorKaustabh Chakraborty <kauschluss@disroot.org>
Sun, 6 Jul 2025 18:25:40 +0000 (23:55 +0530)
committerInki Dae <inki.dae@samsung.com>
Mon, 15 Sep 2025 10:54:59 +0000 (19:54 +0900)
commitd6dbefb2fed7d7f333c4241965296d84c202b6bf
treeaad00b671e978e9dbf1ad93a820fa2eba53b6332
parent4d244122dd90c72f6c3f10eb7a53678d78d3b857
drm/bridge: samsung-dsim: allow configuring the VIDEO_MODE bit

The VIDEO_MODE bit of DSIM_CONFIG is hardcoded to BIT(25), but
Exynos7870's DSIM has it in BIT(18) as per downstream kernel sources.

In order to support both, move this bit value to the driver data struct
and define it for every driver compatible. Reference the value from
there instead, in functions wherever required.

Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/bridge/samsung-dsim.c
include/drm/bridge/samsung-dsim.h