]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Return the exact value for debugging
authorWayne Lin <Wayne.Lin@amd.com>
Wed, 30 Apr 2025 09:35:21 +0000 (17:35 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 May 2025 13:30:58 +0000 (09:30 -0400)
commitea979dd40138e0132fb3e4372859a5efadce0f37
tree4303b57477cb9b5cf5e5b4403a391821db8c2d29
parentde6485e3df24170d71706d6f2c55a496443c3803
drm/amd/display: Return the exact value for debugging

[Why]
It's unnecessary to set operation_result as invalid reply when
p_notify->result != AUX_RET_SUCCESS.

[How]
Set operation_result as p_notify->result to better understand
the reason for the error

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