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)
commit25331a18f45cdc9d872c3badd1de93c6f0f4fe64
tree50eea306dc95605253df9a1a7801cd67bebb4b37
parent5c8a6c71d72021c0d62d8904997495c93b962eec
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