Currently, the Verisilicon DC-series display controller driver supports
only the DC8200 variant in the T-HEAD TH1520 SoC.  Hence restrict the
dependency on RISCV to ARCH_THEAD, to prevent asking the user about this
driver when configuring a kernel without T-HEAD platform support.

The dependency can be relaxed later, when adding support for appropriate
SoCs from other vendors.

Fixes: dbf21777caa8b8c8 ("drm: verisilicon: add a driver for Verisilicon 
display controllers")
Signed-off-by: Geert Uytterhoeven <[email protected]>
---
 drivers/gpu/drm/verisilicon/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/verisilicon/Kconfig 
b/drivers/gpu/drm/verisilicon/Kconfig
index 7cce86ec8603c596..f2edde9e0037ebcd 100644
--- a/drivers/gpu/drm/verisilicon/Kconfig
+++ b/drivers/gpu/drm/verisilicon/Kconfig
@@ -2,7 +2,7 @@
 config DRM_VERISILICON_DC
        tristate "DRM Support for Verisilicon DC-series display controllers"
        depends on DRM && COMMON_CLK
-       depends on RISCV || COMPILE_TEST
+       depends on ARCH_THEAD || COMPILE_TEST
        select DRM_BRIDGE_CONNECTOR
        select DRM_CLIENT_SELECTION
        select DRM_DISPLAY_HELPER
-- 
2.43.0

Reply via email to