]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Fix seamless boot sequence
authorLo-an Chen <lo-an.chen@amd.com>
Fri, 17 Jan 2025 09:56:25 +0000 (17:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 3 Feb 2025 17:13:38 +0000 (12:13 -0500)
commite01f07cb92513ca4b9b219ab9caa34d607bc1e2d
tree79feffd9f8689cd17b1ee471686fef730f8418c6
parent8adbb2a98b00926315fd513b5fe2596b5716b82d
drm/amd/display: Fix seamless boot sequence

[WHY]
When the system powers up eDP with external monitors in seamless boot
sequence, stutter get enabled before TTU and HUBP registers being
programmed, which resulting in underflow.

[HOW]
Enable TTU in hubp_init.
Change the sequence that do not perpare_bandwidth and optimize_bandwidth
while having seamless boot streams.

Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Lo-an Chen <lo-an.chen@amd.com>
Signed-off-by: Paul Hsieh <paul.hsieh@amd.com>
Signed-off-by: Alex Hung <alex.hung@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.c
drivers/gpu/drm/amd/display/dc/hubbub/dcn30/dcn30_hubbub.c
drivers/gpu/drm/amd/display/dc/hubbub/dcn31/dcn31_hubbub.c
drivers/gpu/drm/amd/display/dc/hubbub/dcn32/dcn32_hubbub.c
drivers/gpu/drm/amd/display/dc/hubbub/dcn35/dcn35_hubbub.c
drivers/gpu/drm/amd/display/dc/hubp/dcn30/dcn30_hubp.c
drivers/gpu/drm/amd/display/dc/hubp/dcn32/dcn32_hubp.c
drivers/gpu/drm/amd/display/dc/hwss/dcn35/dcn35_hwseq.c