drm/arm: Kconfig annotate drivers as COMPILE_TEST
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 17 May 2020 19:36:53 +0000 (20:36 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 15 Jun 2020 13:55:21 +0000 (14:55 +0100)
Add the COMPILE_TEST conditional, so that people can at least build test
the drivers.

Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Brian Starkey <brian.starkey@arm.com>
Cc: Mali DP Maintainers <malidp@foss.arm.com>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Tested-by: Liviu Dudau <liviu.dudau@arm.com>
Acked-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200517193655.3895087-1-emil.l.velikov@gmail.com
drivers/gpu/drm/arm/Kconfig

index a204103..3a9e966 100644 (file)
@@ -3,7 +3,7 @@ menu "ARM devices"
 
 config DRM_HDLCD
        tristate "ARM HDLCD"
-       depends on DRM && OF && (ARM || ARM64)
+       depends on DRM && OF && (ARM || ARM64 || COMPILE_TEST)
        depends on COMMON_CLK
        select DRM_KMS_HELPER
        select DRM_KMS_CMA_HELPER
@@ -24,7 +24,7 @@ config DRM_HDLCD_SHOW_UNDERRUN
 
 config DRM_MALI_DISPLAY
        tristate "ARM Mali Display Processor"
-       depends on DRM && OF && (ARM || ARM64)
+       depends on DRM && OF && (ARM || ARM64 || COMPILE_TEST)
        depends on COMMON_CLK
        select DRM_KMS_HELPER
        select DRM_KMS_CMA_HELPER