From: Alex Hung Date: Tue, 4 Feb 2025 18:51:29 +0000 (-0700) Subject: drm/amd/display: Print seamless boot message in mark_seamless_boot_stream X-Git-Tag: v6.15-rc1~120^2~17^2~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5f7e384ab56e1edd6aabe860ebcb2b88ec468cb6;p=thirdparty%2Fkernel%2Flinux.git drm/amd/display: Print seamless boot message in mark_seamless_boot_stream [WHAT & HOW] Add a message so users know the stream will be used for seamless boot. Reviewed-by: Mario Limonciello Reviewed-by: Rodrigo Siqueira Signed-off-by: Alex Hung Signed-off-by: Roman Li Tested-by: Daniel Wheeler Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c index bf14fa1e3771f..e6bc479497e87 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c @@ -3764,6 +3764,8 @@ static void mark_seamless_boot_stream(const struct dc *dc, { struct dc_bios *dcb = dc->ctx->dc_bios; + DC_LOGGER_INIT(dc->ctx->logger); + if (stream->apply_seamless_boot_optimization) return; if (!dc->config.allow_seamless_boot_optimization) @@ -3772,7 +3774,7 @@ static void mark_seamless_boot_stream(const struct dc *dc, return; if (dc_validate_boot_timing(dc, stream->sink, &stream->timing)) { stream->apply_seamless_boot_optimization = true; - DC_LOG_INFO("Marked stream for seamless boot optimization\n"); + DC_LOG_DC("Marked stream for seamless boot optimization\n"); } }