]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/bridge: samsung-dsim: allow configuring the MAIN_VSA offset
authorKaustabh Chakraborty <kauschluss@disroot.org>
Sun, 6 Jul 2025 18:25:39 +0000 (23:55 +0530)
committerInki Dae <inki.dae@samsung.com>
Mon, 15 Sep 2025 10:54:52 +0000 (19:54 +0900)
commit4d244122dd90c72f6c3f10eb7a53678d78d3b857
treee05397861c6b2bbb0a036a5facca57abafb43438
parentf6ba4c1577a8184105133a79b5d1b6d465158362
drm/bridge: samsung-dsim: allow configuring the MAIN_VSA offset

The MAIN_VSA offset of DSIM_MSYNC is hardcoded to a 22-bit offset, but
Exynos7870's DSIM has it in a 16-bit offset as per the downstream kernel
sources.

In order to support both, move this offset 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