From: Damon Ding Date: Thu, 9 Apr 2026 06:52:49 +0000 (+0800) Subject: drm/exynos: exynos_dp: Apply of-display-mode-bridge to parse the display-timings... X-Git-Tag: v7.2-rc1~141^2~26^2~126 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=1b7cee81d8147d341c0240fcc9cbd129b95c0043;p=thirdparty%2Flinux.git drm/exynos: exynos_dp: Apply of-display-mode-bridge to parse the display-timings node If there is neither a panel nor a bridge, the display timing can be parsed from the display-timings node under the dp node. In order to get rid of &analogix_dp_plat_data.get_modes() and make the codes more consistent, apply DRM of-display-mode-bridge to parse display timings. Signed-off-by: Damon Ding Reviewed-by: Luca Ceresoli Tested-by: Marek Szyprowski Tested-by: Heiko Stuebner # rk3588 Link: https://patch.msgid.link/20260409065301.446670-6-damon.ding@rock-chips.com Signed-off-by: Luca Ceresoli --- diff --git a/drivers/gpu/drm/exynos/Kconfig b/drivers/gpu/drm/exynos/Kconfig index 0d13828e7d9e6..380d9a8ce2596 100644 --- a/drivers/gpu/drm/exynos/Kconfig +++ b/drivers/gpu/drm/exynos/Kconfig @@ -72,6 +72,7 @@ config DRM_EXYNOS_DP select DRM_ANALOGIX_DP select DRM_DISPLAY_DP_HELPER default DRM_EXYNOS + select DRM_OF_DISPLAY_MODE_BRIDGE select DRM_PANEL help This enables support for DP device. diff --git a/drivers/gpu/drm/exynos/exynos_dp.c b/drivers/gpu/drm/exynos/exynos_dp.c index e20513164032b..ac16138a22fe1 100644 --- a/drivers/gpu/drm/exynos/exynos_dp.c +++ b/drivers/gpu/drm/exynos/exynos_dp.c @@ -19,6 +19,7 @@ #include