drm/amd/display: Fix fclk idle state
Subsystems (3)
PATCH 1/1 drm/amd/display: Fix fclk idle state
From: Roman Li <[email protected]>
[Why]
The earlier change 'Fix 6x4K displays' led to fclk value idling at higher DPM level.
[How]
Apply the fix only to respective multi-display configuration.
--- drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c +9 -1
@@ -627,7 +627,15 @@ static void dce11_pplib_apply_display_requirements( dc, context->bw.dce.sclk_khz); - pp_display_cfg->min_dcfclock_khz = pp_display_cfg->min_engine_clock_khz; +/* +* As workaround for >4x4K lightup set dcfclock to min_engine_clock value. +* This is not required for less than 5 displays, +* thus don't request decfclk in dc to avoid impact +* on power saving. +* +*/ + pp_display_cfg->min_dcfclock_khz = (context->stream_count >4 )? + pp_display_cfg->min_engine_clock_khz :0 ; pp_display_cfg->min_engine_clock_deep_sleep_khz = context->bw.dce.sclk_deep_sleep_khz;
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Deucher, Alexander
Acked-by________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of [email protected] <[email protected]>
Sent: Tuesday, January 29, 2019 3:16:53 PM
To: [email protected]; Xu, Feifei; Quan, Evan
Cc: Chan, Carl; Wentland, Harry; Li, Roman
Subject: [PATCH] drm/amd/display: Fix fclk idle state
From: Roman Li <[email protected]>
[Why]
The earlier change 'Fix 6x4K displays' led to fclk value idling at higher DPM level.
[How]
Apply the fix only to respective multi-display configuration.
--- drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dce/dce_clk_mgr.c +9 -1
@@ -627,7 +627,15 @@ static void dce11_pplib_apply_display_requirements( dc, context->bw.dce.sclk_khz); - pp_display_cfg->min_dcfclock_khz = pp_display_cfg->min_engine_clock_khz; +/* +* As workaround for >4x4K lightup set dcfclock to min_engine_clock value. +* This is not required for less than 5 displays, +* thus don't request decfclk in dc to avoid impact +* on power saving. +* +*/ + pp_display_cfg->min_dcfclock_khz = (context->stream_count >4 )? + pp_display_cfg->min_engine_clock_khz :0 ; pp_display_cfg->min_engine_clock_deep_sleep_khz = context->bw.dce.sclk_deep_sleep_khz;
--
2.17.1
_______________________________________________
amd-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx