Skip to content

Commit 5f7e384

Browse files
Alex Hungalexdeucher
authored andcommitted
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 <[email protected]> Reviewed-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alex Hung <[email protected]> Signed-off-by: Roman Li <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent d27a1e9 commit 5f7e384

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

drivers/gpu/drm/amd/display/dc/core/dc_resource.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3764,6 +3764,8 @@ static void mark_seamless_boot_stream(const struct dc *dc,
37643764
{
37653765
struct dc_bios *dcb = dc->ctx->dc_bios;
37663766

3767+
DC_LOGGER_INIT(dc->ctx->logger);
3768+
37673769
if (stream->apply_seamless_boot_optimization)
37683770
return;
37693771
if (!dc->config.allow_seamless_boot_optimization)
@@ -3772,7 +3774,7 @@ static void mark_seamless_boot_stream(const struct dc *dc,
37723774
return;
37733775
if (dc_validate_boot_timing(dc, stream->sink, &stream->timing)) {
37743776
stream->apply_seamless_boot_optimization = true;
3775-
DC_LOG_INFO("Marked stream for seamless boot optimization\n");
3777+
DC_LOG_DC("Marked stream for seamless boot optimization\n");
37763778
}
37773779
}
37783780

0 commit comments

Comments
 (0)