]> www.infradead.org Git - users/willy/linux.git/commit
drm/amd/display: Remove redundant idle optimization check
authorRoman Li <roman.li@amd.com>
Tue, 7 May 2024 20:26:08 +0000 (16:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Jun 2024 18:17:24 +0000 (14:17 -0400)
commite2654a4453ba3dac9baacf9980d841d84e15b869
tree19e2915688b24b696e2f0a978ff881f870177e7f
parent6ba59ff4227927d3a8530fc2973b80e94b54d58f
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: 196107eb1e15 ("drm/amd/display: Add IPS checks before dcn register access")
Cc: stable@vger.kernel.org
Reviewed-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Acked-by: Roman Li <roman.li@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c