]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/radeon/atom: powergating fixes for DCE6
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 24 Aug 2012 22:21:21 +0000 (18:21 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 17:39:43 +0000 (10:39 -0700)
commitbf903695675047612f52b260545a1e9c9438c08b
tree4190fa7eb3225dbd6951c5c80de1bd8cb3786795
parent76a271deba25e001c25a5e24420838506858e426
drm/radeon/atom: powergating fixes for DCE6

commit c205b232a64fed6d26edd7e40985b396de99a27f upstream.

Power gating is per crtc pair, but the powergating registers
should be called individually.  The hw handles power up/down
properly.  The pair is powered up if either crtc in the pair
is powered up and the pair is not powered down until both
crtcs in the pair are powered down.  This simplifies
programming and should save additional power as the previous
code never actually power gated the crtc pair.

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