Skip to content

Commit a9cbeb6

Browse files
unsccaptain1alexdeucher
authored andcommitted
drm/amd/display: Send IPSExit unconditionally.
[Why&How] PMFW needs to flush page cache in IPSExit. Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Signed-off-by: JinZe Xu <JinZe.Xu@amd.com> Signed-off-by: Ray Wu <ray.wu@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 18a77bd commit a9cbeb6

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1365,14 +1365,15 @@ static void dc_dmub_srv_exit_low_power_state(const struct dc *dc)
13651365
if (!dc->debug.optimize_ips_handshake || !ips_fw->signals.bits.ips2_commit)
13661366
udelay(dc->debug.ips2_eval_delay_us);
13671367

1368-
if (ips_fw->signals.bits.ips2_commit) {
1369-
DC_LOG_IPS(
1370-
"exit IPS2 #1 (ips1_commit=%u ips2_commit=%u)",
1371-
ips_fw->signals.bits.ips1_commit,
1372-
ips_fw->signals.bits.ips2_commit);
1368+
DC_LOG_IPS(
1369+
"exit IPS2 #1 (ips1_commit=%u ips2_commit=%u)",
1370+
ips_fw->signals.bits.ips1_commit,
1371+
ips_fw->signals.bits.ips2_commit);
13731372

1374-
// Tell PMFW to exit low power state
1375-
dc->clk_mgr->funcs->exit_low_power_state(dc->clk_mgr);
1373+
// Tell PMFW to exit low power state
1374+
dc->clk_mgr->funcs->exit_low_power_state(dc->clk_mgr);
1375+
1376+
if (ips_fw->signals.bits.ips2_commit) {
13761377

13771378
DC_LOG_IPS(
13781379
"wait IPS2 entry delay (ips1_commit=%u ips2_commit=%u)",

0 commit comments

Comments
 (0)