summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/vc4/Kconfig
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2022-05-03 16:08:48 +1000
committerDave Airlie <airlied@redhat.com>2022-05-03 16:08:48 +1000
commite954d2c94d007afe487044ecfa48f2518643df0e (patch)
tree7903ee4cf7d9387e5bb5285f86a2a82b2eacab44 /drivers/gpu/drm/vc4/Kconfig
parent15e2b419a83777ef652bf5f0ea4385ef7711f710 (diff)
parent672c0c5173427e6b3e2a9bbb7be51ceeec78093a (diff)
Backmerge tag 'v5.18-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux into drm-next
Linux 5.18-rc5 There was a build fix for arm I wanted in drm-next, so backmerge rather then cherry-pick. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/vc4/Kconfig')
-rw-r--r--drivers/gpu/drm/vc4/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/vc4/Kconfig b/drivers/gpu/drm/vc4/Kconfig
index 1eef1849cf54..061be9a6619d 100644
--- a/drivers/gpu/drm/vc4/Kconfig
+++ b/drivers/gpu/drm/vc4/Kconfig
@@ -2,6 +2,9 @@
config DRM_VC4
tristate "Broadcom VC4 Graphics"
depends on ARCH_BCM || ARCH_BCM2835 || COMPILE_TEST
+ # Make sure not 'y' when RASPBERRYPI_FIRMWARE is 'm'. This can only
+ # happen when COMPILE_TEST=y, hence the added !RASPBERRYPI_FIRMWARE.
+ depends on RASPBERRYPI_FIRMWARE || (COMPILE_TEST && !RASPBERRYPI_FIRMWARE)
depends on DRM
depends on SND && SND_SOC
depends on COMMON_CLK