]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: disable replay when crc source is enabled
authorRay Wu <ray.wu@amd.com>
Tue, 16 Dec 2025 10:09:45 +0000 (18:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 10 Jan 2026 19:21:53 +0000 (14:21 -0500)
commita036db3953140d5c2816b056aa3e73b8e98d9bc0
tree7b90c9dc7bec6f15c02d7250be122111f97a6796
parentcdd9b2d7e4091cc549deadf3e160e41e795b8e26
drm/amd/display: disable replay when crc source is enabled

[Why]
IGT CRC tests fail on replay panels due to invalid CRC values
captured when replay is active.

[How]
- Disable replay when CRC source is enabled; set flag to
  prevent unexpected re-enable
- Reset flag when CRC source is disabled to allow replay

Reviewed-by: ChiaHsuan (Tom) Chung <chiahsuan.chung@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Signed-off-by: Matthew Stewart <matthew.stewart2@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_replay.c