drm/radeon/atom: powergating fixes for DCE6
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 24 Aug 2012 22:21:21 +0000 (18:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 Aug 2012 16:11:01 +0000 (12:11 -0400)
commitc205b232a64fed6d26edd7e40985b396de99a27f
tree8a3c5f28912201670f18de0d79af7e1e81467ccf
parent8d1af57ae3c4458ed0de93ef97f388dd1b3239c7
drm/radeon/atom: powergating fixes for DCE6

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