[PATCH 02/17] drm/amd/display: Improve dce_aux_transfer_with_retries logging
Stylon Wang
stylon.wang at amd.com
Fri Jan 28 14:03:56 UTC 2022
From: Wyatt Wood <wyatt.wood at amd.com>
[Why + How]
Payload reply is unknown and not handled in switch statement.
Reviewed-by: Anthony Koo <Anthony.Koo at amd.com>
Acked-by: Stylon Wang <stylon.wang at amd.com>
Signed-off-by: Wyatt Wood <wyatt.wood at amd.com>
---
drivers/gpu/drm/amd/display/dc/dce/dce_aux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_aux.c b/drivers/gpu/drm/amd/display/dc/dce/dce_aux.c
index 6d42a9cc9916..74b05b3aef08 100644
--- a/drivers/gpu/drm/amd/display/dc/dce/dce_aux.c
+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_aux.c
@@ -878,7 +878,7 @@ bool dce_aux_transfer_with_retries(struct ddc_service *ddc,
default:
DC_TRACE_LEVEL_MESSAGE(DAL_TRACE_LEVEL_ERROR,
LOG_FLAG_Error_I2cAux,
- "dce_aux_transfer_with_retries: AUX_RET_SUCCESS: FAILURE: AUX_TRANSACTION_REPLY_* unknown, default case.");
+ "dce_aux_transfer_with_retries: AUX_RET_SUCCESS: FAILURE: AUX_TRANSACTION_REPLY_* unknown, default case. Reply: %d", *payload->reply);
goto fail;
}
break;
--
2.34.1
More information about the amd-gfx
mailing list