From: Mario Limonciello Date: Wed, 18 Jan 2023 22:47:09 +0000 (-0600) Subject: drm/amd/display: Decrease messaging about DP alt mode state to debug X-Git-Tag: Ubuntu-6.5.0-9.9~3296^2~21^2~12 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=bd3149014dff8f90c3d700778274fb5729986a01;p=mirror_ubuntu-kernels.git drm/amd/display: Decrease messaging about DP alt mode state to debug Currently plugging in a USB-C device that issues an HPD will emit a warning level message `DP Alt mode state on HPD: %d`. This is needlessly noisy for most people, decrease it to debug so that it can be turned on by dynamic debug as needed. Reviewed-by: Alex Deucher Signed-off-by: Mario Limonciello Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c index 5cd81348a88b..d9e490eca10f 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c @@ -837,7 +837,7 @@ static bool wait_for_entering_dp_alt_mode(struct dc_link *link) return true; is_in_alt_mode = link->link_enc->funcs->is_in_alt_mode(link->link_enc); - DC_LOG_WARNING("DP Alt mode state on HPD: %d\n", is_in_alt_mode); + DC_LOG_DC("DP Alt mode state on HPD: %d\n", is_in_alt_mode); if (is_in_alt_mode) return true;