drm/radeon/kms/atom: add support for crtc power gating
authorAlex Deucher <alexdeucher@gmail.com>
Tue, 20 Mar 2012 21:18:03 +0000 (17:18 -0400)
committerDave Airlie <airlied@redhat.com>
Wed, 21 Mar 2012 06:55:51 +0000 (06:55 +0000)
commitfef9f91fecf3a767d74823347284e1c0e7b4b849
treeafd8a8785f6b504b64b5eeb7a7b2fcb06050cc3f
parent79f17c64b231918c10fdccb55192d1d6e8ab4a2b
drm/radeon/kms/atom: add support for crtc power gating

Each pair of crtcs (0/1, 2/3, 4/5) can be power gated.
Make sure the power is applied when the crtc is in use and
only power down the pair when both are off.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/atombios_crtc.c