drm/amdgpu: Enter low power state if CRTC active.
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Thu, 12 Dec 2019 22:04:41 +0000 (17:04 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Mar 2020 17:50:52 +0000 (13:50 -0400)
commit97f6a21bfa5691e3945abee927a2d6a00f60f618
tree5cbe9b65d702b356c3f0436105893e75dc408a92
parentaec0f262f3d2aab761a24500c1ee8874ee62b4e8
drm/amdgpu: Enter low power state if CRTC active.

CRTC in DPMS state off calls for low power state entry.
Support both atomic mode setting and pre-atomic mode setting.

v2: move comment

Acked-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c