drm/amd/display: Disable dpp root clock when not being used
authorJake Wang <haonan.wang2@amd.com>
Wed, 22 Sep 2021 18:22:59 +0000 (14:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Oct 2021 21:17:16 +0000 (17:17 -0400)
commit7a28bee067d524c1b8770aa72a82263eb9fc53f0
tree41b81484ce09ac39553ca230d09eadeb0d2f0a80
parent652de07addd2c40684fbf3a91c5b335709a585ca
drm/amd/display: Disable dpp root clock when not being used

[Why & How]
Disable root clock for dpp when not being used.

Reviewed-by: Eric Yang <eric.yang2@amd.com>
Acked-by: Agustin Gutierrez Sanchez <agustin.gutierrez@amd.com>
Signed-off-by: Jake Wang <haonan.wang2@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn31/dcn31_clk_mgr.c
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_dccg.c