]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Remove incorrect checking in dmub aux handler
authorWayne Lin <Wayne.Lin@amd.com>
Sun, 20 Apr 2025 08:56:54 +0000 (16:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 May 2025 17:01:50 +0000 (13:01 -0400)
commit81b5c6fa62af62fe89ae9576f41aae37830b94cb
tree6b44c99b3d3c6ac942678eadf81af63b7bf3d32a
parent1db6c9e9b62e1a8912f0a281c941099fca678da3
drm/amd/display: Remove incorrect checking in dmub aux handler

[Why & How]
"Request length != reply length" is expected behavior defined in spec.
It's not an invalid reply. Besides, replied data handling logic is not
designed to be written in amdgpu_dm_process_dmub_aux_transfer_sync().
Remove the incorrectly handling section.

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