Skip to content

Commit bc70e11

Browse files
Wayne Linalexdeucher
authored andcommitted
drm/amd/display: Fix the checking condition in dmub aux handling
[Why & How] Fix the checking condition for detecting AUX_RET_ERROR_PROTOCOL_ERROR. It was wrongly checking by "not equals to" Reviewed-by: Ray Wu <[email protected]> Signed-off-by: Wayne Lin <[email protected]> Signed-off-by: Ray Wu <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit 1db6c9e) Cc: [email protected]
1 parent 5a38466 commit bc70e11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12749,7 +12749,7 @@ int amdgpu_dm_process_dmub_aux_transfer_sync(
1274912749
* Transient states before tunneling is enabled could
1275012750
* lead to this error. We can ignore this for now.
1275112751
*/
12752-
if (p_notify->result != AUX_RET_ERROR_PROTOCOL_ERROR) {
12752+
if (p_notify->result == AUX_RET_ERROR_PROTOCOL_ERROR) {
1275312753
DRM_WARN("DPIA AUX failed on 0x%x(%d), error %d\n",
1275412754
payload->address, payload->length,
1275512755
p_notify->result);

0 commit comments

Comments
 (0)