summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/hwss/hw_sequencer_private.h
diff options
context:
space:
mode:
authorDaniel Miess <daniel.miess@amd.com>2024-04-23 15:45:59 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-05-13 15:47:08 -0400
commitc49e44ede5cdfe650c2f769d8bd58cbe289e87cd (patch)
treec9f981f3bbfcab36ef1f33f6ff5ef0a4cf96b2d9 /drivers/gpu/drm/amd/display/dc/hwss/hw_sequencer_private.h
parent4655b4d953067c176ecdbee4167cc85fc0058be1 (diff)
downloadlinux-c49e44ede5cdfe650c2f769d8bd58cbe289e87cd.tar.gz
linux-c49e44ede5cdfe650c2f769d8bd58cbe289e87cd.tar.bz2
linux-c49e44ede5cdfe650c2f769d8bd58cbe289e87cd.zip
drm/amd/display: Enable SYMCLK gating in DCCG
[WHY & HOW] Enable root clock optimization for SYMCLK and only disable it when it's actively used. Reviewed-by: Charlene Liu <charlene.liu@amd.com> Acked-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Daniel Miess <daniel.miess@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/hwss/hw_sequencer_private.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/hwss/hw_sequencer_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/hwss/hw_sequencer_private.h b/drivers/gpu/drm/amd/display/dc/hwss/hw_sequencer_private.h
index 7ac3f2a09487..e2189795ca30 100644
--- a/drivers/gpu/drm/amd/display/dc/hwss/hw_sequencer_private.h
+++ b/drivers/gpu/drm/amd/display/dc/hwss/hw_sequencer_private.h
@@ -128,6 +128,10 @@ struct hwseq_private_funcs {
struct dce_hwseq *hws,
unsigned int phy_inst,
bool clock_on);
+ void (*symclk_root_clock_control)(
+ struct dce_hwseq *hws,
+ unsigned int enc_inst,
+ bool clock_on);
void (*dpp_pg_control)(struct dce_hwseq *hws,
unsigned int dpp_inst,
bool power_on);