mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-09 20:31:27 -04:00
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>
This commit is contained in:
@@ -12701,7 +12701,7 @@ int amdgpu_dm_process_dmub_aux_transfer_sync(
|
||||
payload->address, payload->length,
|
||||
p_notify->result);
|
||||
}
|
||||
*operation_result = AUX_RET_ERROR_INVALID_REPLY;
|
||||
*operation_result = p_notify->result;
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user