]> 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>
Wed, 7 May 2025 22:20:24 +0000 (18:20 -0400)
commit3924f45d4de7250a603fd7b50379237a6a0e5adf
tree0c5832772a0e1c4f173c4bba45cf0f8eff3b6355
parent396dc51b3b7ea524bf8061f478332d0039e96d5d
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>
(cherry picked from commit 9b540e3fe6796fec4fb1344f3be8952fc2f084d4)
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c