drm/radeon/dce6: fix display powergating
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Feb 2013 16:47:09 +0000 (11:47 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Feb 2013 23:01:45 +0000 (18:01 -0500)
commit0e3d50bfcbd338254795a700dcff429a96cba1a6
treeef944186701bff7bc2f8eb03fe6b7f636edc7478
parent7271c7f999609787c4617c51750d39e447859e7d
drm/radeon/dce6: fix display powergating

Only enable it when we disable the display rather than
at DPMS time since enabling it requires a full modeset
to restore the display state.  Fixes blank screens in
certain cases.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/atombios_crtc.c