diff options
author | Lewis Huang <Lewis.Huang@amd.com> | 2022-08-08 13:20:16 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-08-29 17:45:20 -0400 |
commit | 6ebdaf20fc4dd98e7573dc2a926c81afc8ac7870 (patch) | |
tree | 1fd55c9605440dc933a953bf7166822bec169979 /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | |
parent | 9af611f29034dd6c9329de06dc98232a5b89b939 (diff) | |
download | linux-6ebdaf20fc4dd98e7573dc2a926c81afc8ac7870.tar.gz linux-6ebdaf20fc4dd98e7573dc2a926c81afc8ac7870.tar.bz2 linux-6ebdaf20fc4dd98e7573dc2a926c81afc8ac7870.zip |
drm/amd/display: Refine aux transaction before retrieve caps
[Why]
LTTPR caps will read fail if aux channel is not active.
[How]
1.Perform 600 read upto 10 retry with 1ms delay in between.
2.If fail, return false and trigger another retry detection.
3.If pass, read LTTPR caps in retrieve link caps.
Reviewed-by: Jimmy Kizito <Jimmy.Kizito@amd.com>
Acked-by: Brian Chang <Brian.Chang@amd.com>
Signed-off-by: Lewis Huang <Lewis.Huang@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
0 files changed, 0 insertions, 0 deletions