drm/imx/dcss: Allow build with COMPILE_TEST=y
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 3 Oct 2024 11:18:48 +0000 (14:18 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 25 Oct 2024 07:23:55 +0000 (10:23 +0300)
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.palcu@oss.nxp.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241003111851.10453-8-ville.syrjala@linux.intel.com
Reviewed-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
drivers/gpu/drm/imx/dcss/Kconfig

index 9d58f41..e014ed3 100644 (file)
@@ -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.