mirror_ubuntu-kernels/drivers/gpu/drm/amd
Zhan Liu 5948190a0e drm/amd/display: Reduce delay when sink device not able to ACK 00340h write
[Why]
Theoretically, per DP 1.4a spec, sink device needs to AUX_ACK 00340h
write. However, due to hardware limitation, some sink devices have no
00340h dpcd address at all. This results in sink side fails to reply
ACK, and consequently cause source side keep retrying DPCD write on DPCD
00340h. This results in significant delay when DPCD 00340h write is
triggered (e.g. at S3 resume).

[How]
Check whether sink device could ACK on DPCD 00340h write on boot. If
sink device fails to ACK, then remember that, so we won't write to DPCD
00340h later on.

There will be a drm.debug KMS level message to inform user once a 00340h
DPCD write is skipped on purpose.

Reviewed-by: Nikola Cornij <Nikola.Cornij@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Zhan Liu <zhan.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-07-23 10:07:57 -04:00
..
acp
amdgpu drm/amdgpu/ttm: optimize vram access in amdgpu_ttm_access_memory() 2021-07-16 14:03:29 -04:00
amdkfd Revert "drm/amdkfd: Add heavy-weight TLB flush after unmapping" 2021-07-13 11:41:05 -04:00
display drm/amd/display: Reduce delay when sink device not able to ACK 00340h write 2021-07-23 10:07:57 -04:00
include drm/amd/pm: drop smu_v13_0_1.c|h files for yellow carp 2021-07-08 17:47:28 -04:00
pm drm/amd/pm: update DRIVER_IF_VERSION for beige_goby 2021-07-16 13:51:51 -04:00