From: Alex Hung Date: Mon, 8 Dec 2025 19:18:02 +0000 (-0700) Subject: drm/amd/display: Replace log macro for analog display detection X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b39d48a0ab368bca4c7a0458fa9cdd05ebcacb6;p=thirdparty%2Fkernel%2Flinux.git drm/amd/display: Replace log macro for analog display detection link detection should use LINK_INFO() macro. Reviewed-by: Harry Wentland Signed-off-by: Alex Hung Signed-off-by: Chenyu Chen Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/link/link_detection.c b/drivers/gpu/drm/amd/display/dc/link/link_detection.c index 56f27a6d2874..03db7116cf09 100644 --- a/drivers/gpu/drm/amd/display/dc/link/link_detection.c +++ b/drivers/gpu/drm/amd/display/dc/link/link_detection.c @@ -1184,7 +1184,9 @@ static bool detect_link_and_local_sink(struct dc_link *link, return false; } - DC_LOG_INFO("%s detected analog display without EDID\n", __func__); + LINK_INFO("link=%d, analog display detected without EDID\n", + link->link_index); + link->type = dc_connection_analog_load; sink->edid_caps.analog = true; break;