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 <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>
1 parent d27a1e9 commit 5f7e384

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

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)