aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
diff options
context:
space:
mode:
authorIlya Bakoulin <[email protected]>2023-06-02 21:01:23 +0000
committerAlex Deucher <[email protected]>2023-06-30 17:11:35 +0000
commit2faa3653d6657aedf357ca74c4e58c5768899269 (patch)
tree1ffcfb5088c427906d2f295074ee9145196c1cfa /drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
parentdrm/amdgpu: port SRIOV VF missed changes (diff)
downloadkernel-2faa3653d6657aedf357ca74c4e58c5768899269.tar.gz
kernel-2faa3653d6657aedf357ca74c4e58c5768899269.zip
drm/amd/display: Work around bad DPCD state on link loss
[Why] This display doesn't properly indicate link loss through DPCD bits such as CR_DONE / CHANNEL_EQ_DONE / SYMBOL_LOCKED / INTERLANE_ALIGN_DONE, which all remain set. In addition, DPCD200Eh doesn't match the value of DPCD204h in all cases. For these reasons, we can miss re-training the link, since we don't properly detect link loss with this display. [Why] Add display-specific workaround to read DPCD204h, so that we can detect link loss based on 128b132b-specific status bits in this register. Tested-by: Daniel Wheeler <[email protected]> Reviewed-by: Wenjing Liu <[email protected]> Acked-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Ilya Bakoulin <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c')
0 files changed, 0 insertions, 0 deletions