diff options
author | Wayne Lin <Wayne.Lin@amd.com> | 2025-04-20 14:22:14 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-05-05 20:26:43 +0300 |
commit | 3637e457eb0000bc37d8bbbec95964aad2fb29fd (patch) | |
tree | c0ad9a4a01395fc1c81d22ed4e04678c0af21536 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9b540e3fe6796fec4fb1344f3be8952fc2f084d4 (diff) | |
download | linux-3637e457eb0000bc37d8bbbec95964aad2fb29fd.tar.xz |
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 <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Ray Wu <ray.wu@amd.com>
Signed-off-by: Wayne Lin <Wayne.Lin@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions