drm/amd/display: Reduce dmesg error to a debug print
Subsystems (3)
PATCH 1/1 drm/amd/display: Reduce dmesg error to a debug print
[Why & How]
Dmesg errors are found on dcn3.1 during reset test, but it's not a really failure. So reduce it to a debug print.
Signed-off-by Leo (Hanghong) Ma <[email protected]>
--- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +1 -1
@@ -4454,7 +4454,7 @@ bool dp_retrieve_lttpr_cap(struct dc_link *link) lttpr_dpcd_data, sizeof(lttpr_dpcd_data));if (status !=DC_OK ) { -dm_error ("%s: Read LTTPR caps data failed.\n" , __func__); +DC_LOG_DP2 ("%s: Read LTTPR caps data failed.\n" , __func__);return false; }
Signature · 1 line
2.17.1
Quoted 5 lines · Leo (Hanghong) Ma
[Why & How]
Dmesg errors are found on dcn3.1 during reset test, but it's not a really failure. So reduce it to a debug print.Signed-off-by Leo (Hanghong) Ma <[email protected]>
This is expected to occur on displays that aren't connected/don't support LTTPR so this is fine.
Reviewed-by Nicholas Kazlauskas <[email protected]>
Regards,
Nicholas Kazlauskas
Quoted 18 lines
--- drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c +1
-1@@ -4454,7 +4454,7 @@ bool dp_retrieve_lttpr_cap(struct dc_link *link) lttpr_dpcd_data, sizeof(lttpr_dpcd_data));if (status !=DC_OK ) { -dm_error ("%s: Read LTTPR caps data failed.\n" , __func__); +DC_LOG_DP2 ("%s: Read LTTPR caps data failed.\n" , __func__);return false; }