Commit 5f7e384a authored by Alex Hung's avatar Alex Hung Committed by Alex Deucher
Browse files

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: default avatarMario Limonciello <mario.limonciello@amd.com>
Reviewed-by: default avatarRodrigo Siqueira <rodrigo.siqueira@amd.com>
Signed-off-by: default avatarAlex Hung <alex.hung@amd.com>
Signed-off-by: default avatarRoman Li <roman.li@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d27a1e93
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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");
	}
}