drm/meson: Allow build with COMPILE_TEST=y
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 3 Oct 2024 11:18:51 +0000 (14:18 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 25 Oct 2024 07:25:10 +0000 (10:25 +0300)
Allow meson to be built with COMPILE_TEST=y for greater
coverage. Builds fine on x86/x86_64 at least.

Cc: Neil Armstrong <neil.armstrong@linaro.org>
Cc: linux-amlogic@lists.infradead.org
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241003111851.10453-11-ville.syrjala@linux.intel.com
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
drivers/gpu/drm/meson/Kconfig

index b410e0d..417f798 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 config DRM_MESON
        tristate "DRM Support for Amlogic Meson Display Controller"
-       depends on DRM && OF && (ARM || ARM64)
+       depends on DRM && OF && (ARM || ARM64 || COMPILE_TEST)
        depends on ARCH_MESON || COMPILE_TEST
        select DRM_CLIENT_SELECTION
        select DRM_KMS_HELPER