diff options
| author | Wayne Lin <[email protected]> | 2025-04-20 11:22:14 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-05-07 22:23:09 +0000 |
| commit | 65924ec69b29296845c7f628112353438e63ea56 (patch) | |
| tree | 3d7e71c74f22bf21a279f57934b03d8b487658dc /drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h | |
| parent | drm/amd/display: Copy AUX read reply data whenever length > 0 (diff) | |
| download | kernel-65924ec69b29296845c7f628112353438e63ea56.tar.gz kernel-65924ec69b29296845c7f628112353438e63ea56.zip | |
drm/amd/display: Fix wrong handling for AUX_DEFER case
[Why]
We incorrectly ack all bytes get written when the reply actually is defer.
When it's defer, means sink is not ready for the request. We should
retry the request.
[How]
Only reply all data get written when receive I2C_ACK|AUX_ACK. Otherwise,
reply the number of actual written bytes received from the sink.
Add some messages to facilitate debugging as well.
Fixes: ad6756b4d773 ("drm/amd/display: Shift dc link aux to aux_payload")
Cc: Mario Limonciello <[email protected]>
Cc: Alex Deucher <[email protected]>
Reviewed-by: Ray Wu <[email protected]>
Signed-off-by: Wayne Lin <[email protected]>
Signed-off-by: Ray Wu <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
(cherry picked from commit 3637e457eb0000bc37d8bbbec95964aad2fb29fd)
Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h')
0 files changed, 0 insertions, 0 deletions
