]> 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 02:31:40 +0000 (19:31 -0700)
commit9b8c9aa9c5c2caba7163883a2a1213f5f2a3d516
tree009141ce6c23a227bfc8da531558786ba55ea9d5
parent8cb97b1434fc3d150ef954f959e0c27c21ca2790
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