diff options
author | Wenjing Liu <[email protected]> | 2022-04-29 15:42:30 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-05-10 17:53:12 -0400 |
commit | c371b0d12d0b8497355cc1ac2a11accd2f5b8528 (patch) | |
tree | 5a862e6e96826b8409d102ce52ad648844948051 /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | |
parent | d9db36d1cdbf2627b75e56f9915f8a2b01b7d2e0 (diff) |
drm/amd/display: do not calculate DP2.0 SST payload when link is off
[Why & How]
There is a chance where the RX issues HPD deassert in the
middle of link training, this will cause our logic to
abort link training and turn off link. However our payload
allocation logic needs to use current link settings to
determine average time slot per MTP. This will need to
use current link bandwidth as divider. This causes divide
by zero error occasionally. The fix is to skip DP2.0 payload
allocation logic if current link is not in 128b/132b mode.
Reviewed-by: George Shen <[email protected]>
Acked-by: Stylon Wang <[email protected]>
Signed-off-by: Wenjing Liu <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions