mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02: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:
parent
de6485e3df
commit
ea979dd401
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user