diff options
author | Thomas Lim <[email protected]> | 2019-01-16 15:56:56 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2019-03-19 15:04:02 -0500 |
commit | 8ae5b1d78d4acbe9755570f26703962877f9108a (patch) | |
tree | a97f1a8161bf4ccd579d41bec83129e86f856287 /drivers/fpga/fpga-bridge.c | |
parent | 7cef6a120ec4d04c204b2caac226af473b67e410 (diff) |
drm/amd/display: Respect aux return values
[Why]
The new aux implementation was not up to spec. This caused us to fail DP
compliance as well as introduced serious delays during system resume.
[How]
Make dce_aux_transfer_raw return the operation result
Make dce_aux_transfer_with_retries delay with udelay instead
of msleep, and only on invalid reply. Also fail on the second
invalid reply, third timeout, or first of any other error
Convert return values to drm error codes in amdgpu_dm
As the two aux transfer functions are now noticeably
different, change the names to better reflect their
functionality and document.
There was one last call to dc_link_aux_transfer that
should have retries, fix that
Signed-off-by: David Francis <[email protected]>
Signed-off-by: Thomas Lim <[email protected]>
Reviewed-by: David Francis <[email protected]>
Acked-by: Bhawanpreet Lakha <[email protected]>
Acked-by: Eric Yang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions