Skip to content

Commit e2654a4

Browse files
Roman Lialexdeucher
authored andcommitted
drm/amd/display: Remove redundant idle optimization check
[Why] Disable idle optimization for each atomic commit is unnecessary, and can lead to a potential race condition. [How] Remove idle optimization check from amdgpu_dm_atomic_commit_tail() Fixes: 196107e ("drm/amd/display: Add IPS checks before dcn register access") Cc: [email protected] Reviewed-by: Hamza Mahfooz <[email protected]> Acked-by: Roman Li <[email protected]> Signed-off-by: Roman Li <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 6ba59ff commit e2654a4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9169,9 +9169,6 @@ static void amdgpu_dm_atomic_commit_tail(struct drm_atomic_state *state)
91699169

91709170
trace_amdgpu_dm_atomic_commit_tail_begin(state);
91719171

9172-
if (dm->dc->caps.ips_support && dm->dc->idle_optimizations_allowed)
9173-
dc_allow_idle_optimizations(dm->dc, false);
9174-
91759172
drm_atomic_helper_update_legacy_modeset_state(dev, state);
91769173
drm_dp_mst_atomic_wait_for_dependencies(state);
91779174

0 commit comments

Comments
 (0)