]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/radeon/dce6: fix display powergating
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Feb 2013 16:47:09 +0000 (11:47 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Feb 2013 13:38:34 +0000 (05:38 -0800)
commitf0a3cdd0dba567373c517c6eae29b655e3ba112c
tree59b013f61766fabfe1d8a8981737f540b755438a
parent4cd669a49791eb08742f24e0e62128e4d65159d7
drm/radeon/dce6: fix display powergating

commit 0e3d50bfcbd338254795a700dcff429a96cba1a6 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/atombios_crtc.c