drm/amdgpu: Fix display corruption on CI with dpm enabled
authorRex Zhu <Rex.Zhu@amd.com>
Fri, 27 Apr 2018 06:09:30 +0000 (14:09 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:44:19 +0000 (13:44 -0500)
commit51d45cbc9196b07f3fc66df5dafd3010c04913a3
tree65956997c14bbc83c1ae10297a4cb73c8c5d699b
parentfc5a136ddad944d2f909d3ffcde924b7afa792f4
drm/amdgpu: Fix display corruption on CI with dpm enabled

with dpm enabled, need to get active crtcs in dc/no-dc mode.

caused by
'commit ebb649667a31 ("drm/amdgpu: Set pm_display_cfg in non-dc mode")'

Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c