From: Ville Syrjälä <ville.syrj...@linux.intel.com>

Allow imx/dcss to be built with COMPILE_TEST=y for greater
coverage. Builds fine on x86/x86_64 at least.

Cc: Laurentiu Palcu <laurentiu.pa...@oss.nxp.com>
Cc: Lucas Stach <l.st...@pengutronix.de>
Signed-off-by: Ville Syrjälä <ville.syrj...@linux.intel.com>
---
 drivers/gpu/drm/imx/dcss/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/imx/dcss/Kconfig b/drivers/gpu/drm/imx/dcss/Kconfig
index 9d58f41bd00c..e014ed3ae66c 100644
--- a/drivers/gpu/drm/imx/dcss/Kconfig
+++ b/drivers/gpu/drm/imx/dcss/Kconfig
@@ -7,7 +7,7 @@ config DRM_IMX_DCSS
        select DRM_BRIDGE_CONNECTOR
        select DRM_GEM_DMA_HELPER
        select VIDEOMODE_HELPERS
-       depends on DRM && ARCH_MXC && ARM64
+       depends on DRM && ((ARCH_MXC && ARM64) || COMPILE_TEST)
        help
          Choose this if you have a NXP i.MX8MQ based system and want to use the
          Display Controller Subsystem. This option enables DCSS support.
-- 
2.45.2

Reply via email to