]> Gentwo Git Trees - linux/.git/commit
drm/amd/display: Re-check seamless boot can be enabled or not
authorPaul Hsieh <Paul.Hsieh@amd.com>
Thu, 30 Oct 2025 04:17:53 +0000 (12:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Nov 2025 15:50:18 +0000 (10:50 -0500)
commitd24203bb629fb2626442793495d614ffeb2d7b3b
treef9894d59db0ca3b48840aa94dabf25f2eb9268bc
parentc798836bb7b60afda892173dddda466752f321c7
drm/amd/display: Re-check seamless boot can be enabled or not

[Why]
If the seamless boot feature has already been enabled, and
dc_commit_streams is called again before receiving a flip, the
driver will adjust the engine clock without turning off the screen,
which will cause garbage to occur. However, in reality, the Pixel
Clock from the first dc_commit_streams and the second dc_commit_streams
are different.

[How]
If the apply seamless boot flag in the previous stream has not been
cleared, and dc_commit_streams is received again, we need to recheck
whether seamless boot should be disabled

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Paul Hsieh <Paul.Hsieh@amd.com>
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c