kernel: fix build on bcm27xx target platform
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.15 / 950-0019-drm-vc4-select-PM.patch
1 From 0ba0b0f41c143fe0f30ea248e55872e681870be2 Mon Sep 17 00:00:00 2001
2 From: Maxime Ripard <maxime@cerno.tech>
3 Date: Thu, 19 Aug 2021 15:53:03 +0200
4 Subject: [PATCH] drm/vc4: select PM
5
6 We already depend on runtime PM to get the power domains and clocks for
7 most of the devices supported by the vc4 driver, so let's just select it
8 to make sure it's there, and remove the ifdef.
9
10 Signed-off-by: Maxime Ripard <maxime@cerno.tech>
11 ---
12 drivers/gpu/drm/vc4/Kconfig | 1 +
13 1 file changed, 1 insertion(+)
14
15 --- a/drivers/gpu/drm/vc4/Kconfig
16 +++ b/drivers/gpu/drm/vc4/Kconfig
17 @@ -5,11 +5,11 @@ config DRM_VC4
18 depends on DRM
19 depends on SND && SND_SOC
20 depends on COMMON_CLK
21 - depends on PM
22 select DRM_KMS_HELPER
23 select DRM_KMS_CMA_HELPER
24 select DRM_GEM_CMA_HELPER
25 select DRM_PANEL_BRIDGE
26 + select PM
27 select SND_PCM
28 select SND_PCM_ELD
29 select SND_SOC_GENERIC_DMAENGINE_PCM