]> www.infradead.org Git - users/jedix/linux-maple.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>
Mon, 20 May 2024 20:20:25 +0000 (16:20 -0400)
commit5745cb2da6fe08899420d695ce436df0166e7807
tree3ed8fa220145ea09c21fde09844107eb50e82c3e
parent3aec7a5af4d6248b7462b7d1eb597f06d35f5ee0
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