]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/rockchip: add CONFIG_OF dependency
authorArnd Bergmann <arnd@arndb.de>
Wed, 23 Apr 2025 16:44:16 +0000 (18:44 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 1 May 2025 11:01:47 +0000 (13:01 +0200)
DRM_DISPLAY_DP_AUX_BUS cannot be selected when CONFIG_OF is disabled:

WARNING: unmet direct dependencies detected for DRM_DISPLAY_DP_AUX_BUS
  Depends on [n]: HAS_IOMEM [=y] && DRM [=y] && OF [=n]
  Selected by [y]:
  - DRM_ROCKCHIP [=y] && HAS_IOMEM [=y] && DRM [=y] && ROCKCHIP_IOMMU [=y] && ROCKCHIP_ANALOGIX_DP [=y]

Rockchip platforms all depend on OF anyway, so add the dependency here
for compile testing.

Fixes: d7b4936b2bc0 ("drm/rockchip: analogix_dp: Add support to get panel from the DP AUX bus")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Acked-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20250423164422.2793634-1-arnd@kernel.org
drivers/gpu/drm/rockchip/Kconfig

index f9d7776a859adbd536654bcb18f977914751ef55..ab525668939a74fcaafccee0f412a66c8326cd8e 100644 (file)
@@ -2,6 +2,7 @@
 config DRM_ROCKCHIP
        tristate "DRM Support for Rockchip"
        depends on DRM && ROCKCHIP_IOMMU
+       depends on OF
        select DRM_CLIENT_SELECTION
        select DRM_GEM_DMA_HELPER
        select DRM_KMS_HELPER