]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Copy AUX read reply data whenever length > 0
authorWayne Lin <Wayne.Lin@amd.com>
Sun, 20 Apr 2025 09:50:03 +0000 (17:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 May 2025 17:25:31 +0000 (13:25 -0400)
commit9b540e3fe6796fec4fb1344f3be8952fc2f084d4
tree3f8c9fac492c742b5c32787465290377d1f687fb
parent81b5c6fa62af62fe89ae9576f41aae37830b94cb
drm/amd/display: Copy AUX read reply data whenever length > 0

[Why]
amdgpu_dm_process_dmub_aux_transfer_sync() should return all exact data
reply from the sink side. Don't do the analysis job in it.

[How]
Remove unnecessary check condition AUX_TRANSACTION_REPLY_AUX_ACK.

Fixes: ead08b95fa50 ("drm/amd/display: Fix race condition in DPIA AUX transfer")
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>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c