]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Don't check seamless boot in power down HW by timeout
authorJohn Wu <john.wu@amd.com>
Mon, 23 Nov 2020 07:49:15 +0000 (15:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Dec 2020 04:04:04 +0000 (23:04 -0500)
commit0810ea2ea3ef80e82789ef570a13c26de24179f2
tree50eea306dc95605253df9a1a7801cd67bebb4b37
parent3a82b0826d374ea2c5be307792405222f1bba81f
drm/amd/display: Don't check seamless boot in power down HW by timeout

[Why]
power_down_on_boot is designed to power down HW when set mode is not
called before timeout. It can happen in headless system or booting with
the display is output by non-AMD GPU only.
The function will be executed only if it's not seamless boot. So in
seamless boot, the HW is still on.
It's not necessary to check this since there's no display data in both
cases.

[How]
Remove seamless boot checking in power_down_on_boot.

Signed-off-by: John Wu <john.wu@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Eryk Brol <eryk.brol@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c