]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/display: Print seamless boot message in mark_seamless_boot_stream
authorAlex Hung <alex.hung@amd.com>
Tue, 4 Feb 2025 18:51:29 +0000 (11:51 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Feb 2025 20:13:34 +0000 (15:13 -0500)
[WHAT & HOW]
Add a message so users know the stream will be used for seamless boot.

Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c

index bf14fa1e3771f38a5f8facc53845336b7629dce8..e6bc479497e87406871ed0db602454eb8a4f7226 100644 (file)
@@ -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");
        }
 }