OSDN Git Service

drm/amd/display: remove psr state condition when psr exit case
authorLewis Huang <Lewis.Huang@amd.com>
Fri, 20 Dec 2019 06:17:54 +0000 (14:17 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Jan 2020 19:15:56 +0000 (14:15 -0500)
commit6e0ca5ca83bef235778cbf16af37f58b93650dd6
tree3c13df451f68378ffa1044adb1b2bacd0558997d
parent38a20a458080b6ecb071f33908e0eb4851ee7f19
drm/amd/display: remove psr state condition when psr exit case

[Why]
DMCU need to wait a vblank to handle psr enter command. When psr exit
coming before vblank, the psr exit command will be skip because current
psr state is disable.

[How]
remove psr state condition when psr exit case

Signed-off-by: Lewis Huang <Lewis.Huang@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_dmcu.c