在 2026-02-26四的 12:00 +0100,Geert Uytterhoeven写道: > 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.
Michal Wilczynski has verified that this driver will work on StarFive JH7110 with some extra glue drivers (but without modification to this driver itself). [1] Although this can be considered as future work and changing to ARCH_THEAD seems okay now. (BTW the hardware identification values is taken from the vendor driver and it should support different variants of DC8200) Thanks Icenowy [1] https://lists.freedesktop.org/archives/dri-devel/2025-November/535442.html > > 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
