[PATCH] drm/amd/display: Reduce dmesg error to a debug print

Kazlauskas, Nicholas nicholas.kazlauskas at amd.com
Fri Nov 12 15:59:20 UTC 2021


On 2021-11-12 10:56 a.m., Leo (Hanghong) Ma wrote:
> [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 <hanghong.ma at amd.com>

This is expected to occur on displays that aren't connected/don't 
support LTTPR so this is fine.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas at amd.com>

Regards,
Nicholas Kazlauskas

> ---
>   drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
> index cb7bf9148904..c7785e29b1c0 100644
> --- a/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
> +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c
> @@ -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;
>   		}
>   
> 



More information about the amd-gfx mailing list