[PATCH 07/28] drm/amd/display: Enable DCLK_DS from driver by default

Rodrigo Siqueira Rodrigo.Siqueira at amd.com
Thu Sep 14 02:00:00 UTC 2023


From: Muhammad Ahmed <ahmed.ahmed at amd.com>

[Why]
pmfw ungate this feature, this can be enabled now

Reviewed-by: Charlene Liu <charlene.liu at amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo at amd.com>
Signed-off-by: Muhammad Ahmed <ahmed.ahmed at amd.com>
---
 drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_smu.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_smu.c b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_smu.c
index 8d870880ec15..9bd1e86901ec 100644
--- a/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_smu.c
+++ b/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn35/dcn35_smu.c
@@ -230,9 +230,6 @@ int dcn35_smu_set_min_deep_sleep_dcfclk(struct clk_mgr_internal *clk_mgr, int re
 {
 	int actual_min_ds_dcfclk_mhz = -1;
 
-	if (!clk_mgr->base.ctx->dc->debug.pstate_enabled)
-		return -1;
-
 	if (!clk_mgr->smu_present)
 		return requested_min_ds_dcfclk_khz;
 
-- 
2.40.1



More information about the amd-gfx mailing list