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>
This commit is contained in:
Ray Wu
2025-12-16 18:09:45 +08:00
committed by Alex Deucher
parent cdd9b2d7e4
commit a036db3953
3 changed files with 30 additions and 3 deletions

View File

@@ -815,6 +815,7 @@ struct amdgpu_dm_connector {
int sr_skip_count;
bool disallow_edp_enter_psr;
bool disallow_edp_enter_replay;
/* Record progress status of mst*/
uint8_t mst_status;