]> 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:30:23 +0000 (10:30 -0700)
commit853a847c89384d47afcad59beeecb535fe733402
treed05a84f8a408afc0d5d0282c1e3e33a653bf1175
parentd468e2150f5f52ea7b0c459366028f28cc1cf96b
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