Skip to content

Commit 72e2329

Browse files
committed
drm/vc4: hdmi: Depends on CONFIG_PM
We already depend on runtime PM to get the power domains and clocks for most of the devices supported by the vc4 driver, so let's just select it to make sure it's there. Link: https://lore.kernel.org/r/[email protected] Acked-by: Thomas Zimmermann <[email protected]> Tested-by: Stefan Wahren <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> (cherry picked from commit f1bc386) Signed-off-by: Maxime Ripard <[email protected]>
1 parent cf36ae3 commit 72e2329

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

drivers/gpu/drm/vc4/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ config DRM_VC4
88
depends on DRM
99
depends on SND && SND_SOC
1010
depends on COMMON_CLK
11+
depends on PM
1112
select DRM_DISPLAY_HDMI_HELPER
1213
select DRM_DISPLAY_HELPER
1314
select DRM_KMS_HELPER

drivers/gpu/drm/vc4/vc4_hdmi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2855,7 +2855,7 @@ static int vc5_hdmi_init_resources(struct vc4_hdmi *vc4_hdmi)
28552855
return 0;
28562856
}
28572857

2858-
static int __maybe_unused vc4_hdmi_runtime_suspend(struct device *dev)
2858+
static int vc4_hdmi_runtime_suspend(struct device *dev)
28592859
{
28602860
struct vc4_hdmi *vc4_hdmi = dev_get_drvdata(dev);
28612861

0 commit comments

Comments
 (0)