]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.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)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Aug 2012 14:50:50 +0000 (10:50 -0400)
commit6c0ae2ab85fc4a95cae82047a7db1f688a7737ab
tree44dfa02a721ea76ec19a4ef8f6ef06f48a7bcbd1
parent3838f46e363d5a07e61d0352bf11d534dc61f921
drm/radeon: properly handle crtc powergating

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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/atombios_crtc.c
drivers/gpu/drm/radeon/radeon_legacy_crtc.c
drivers/gpu/drm/radeon/radeon_mode.h