OSDN Git Service

drm/amd/display: Remove DPMS state dependency for fast boot
authorSivapiriyanKumarasamy <sivapiriyan.kumarasamy@amd.com>
Wed, 24 Apr 2019 14:20:15 +0000 (10:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:21:00 +0000 (12:21 -0500)
commitbe4b289f10ca7ef4272fa0339b167827ba5fd2cd
treebd694b13438d1d7709bcf79363832409d73f7fe7
parent0880d9ffaea57b3ccaf7f6abecf0f9569d9bc18f
drm/amd/display: Remove DPMS state dependency for fast boot

[Why]
The DPMS state of a display should not impact whether we want to enable fast boot.
Currently fast boot is not enabled when resuming from S4 because of this.

[How]
Remove check for DPMS state when determining if fast boot
can be applied.

Signed-off-by: SivapiriyanKumarasamy <sivapiriyan.kumarasamy@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c