]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/radeon: properly handle crtc powergating
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 26 Jul 2012 17:38:52 +0000 (13:38 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 26 Aug 2012 22:00:41 +0000 (15:00 -0700)
commitb248464f145eee69818dff9945096745988aa3ce
tree35b7d7fcd29bf097a27cd56c58e67d7cedae73a4
parentacafb0231aeeb8648e1f2789e6dd88ea5878f61c
drm/radeon: properly handle crtc powergating

commit 6c0ae2ab85fc4a95cae82047a7db1f688a7737ab upstream.

Need to make sure the crtc is gated on before modesetting.
Explicitly gate the crtc on in prepare() and set a flag
so that the dpms functions don't gate it off during
mode set.

Noticed by sylware on IRC.

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
drivers/gpu/drm/radeon/radeon_legacy_crtc.c
drivers/gpu/drm/radeon/radeon_mode.h