drm/radeon/dpm: resume fixes for some systems
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 30 May 2014 16:40:15 +0000 (12:40 -0400)
committerDave Airlie <airlied@redhat.com>
Mon, 2 Jun 2014 03:33:03 +0000 (13:33 +1000)
commit3640da2faa952a2e9439a254c1ce76033ca0a6dc
tree971931907a986ca956c614b4bd3fe25d2cc1d2f5
parent18ee37a485653aa635cfab9a3710e9bcf5fbca01
drm/radeon/dpm: resume fixes for some systems

Setting the power state prior to restoring the display
hardware leads to blank screens on some systems.  Drop
the power state set from dpm resume.  The power state
will get set as part of the mode set sequence.  Also
add an explicit power state set after mode set resume
to cover PX and headless systems.

bug:
https://bugzilla.kernel.org/show_bug.cgi?id=76761

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