summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/sti/Kconfig
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2024-04-08 19:04:12 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2024-05-28 20:43:46 +0200
commit74bde7581df3e18061119e1b27b63d0a9ea57b7a (patch)
tree163bee574fbbf915f7bfa707ba4c543a692cba2a /drivers/gpu/drm/sti/Kconfig
parentdrm/sti: Include linux/io.h for devm_ioremap() (diff)
downloadlinux-74bde7581df3e18061119e1b27b63d0a9ea57b7a.tar.xz
linux-74bde7581df3e18061119e1b27b63d0a9ea57b7a.zip
drm/sti: Allow build with COMPILE_TEST=y
Allow sti to be built with COMPILE_TEST=y for greater coverage. Builds fine on x86/x86_64 at least. Cc: Alain Volmat <alain.volmat@foss.st.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240408170426.9285-8-ville.syrjala@linux.intel.com Acked-by: Alain Volmat <alain.volmat@foss.st.com>
Diffstat (limited to 'drivers/gpu/drm/sti/Kconfig')
-rw-r--r--drivers/gpu/drm/sti/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/sti/Kconfig b/drivers/gpu/drm/sti/Kconfig
index 3c7a5feff8de..75c301aadcbc 100644
--- a/drivers/gpu/drm/sti/Kconfig
+++ b/drivers/gpu/drm/sti/Kconfig
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
config DRM_STI
tristate "DRM Support for STMicroelectronics SoC stiH4xx Series"
- depends on OF && DRM && ARCH_STI
+ depends on OF && DRM && (ARCH_STI || COMPILE_TEST)
select RESET_CONTROLLER
select DRM_KMS_HELPER
select DRM_GEM_DMA_HELPER