drm/radeon/kms: add a power state type based on power state flags
authorAlex Deucher <alexdeucher@gmail.com>
Wed, 23 Dec 2009 18:21:58 +0000 (13:21 -0500)
committerDave Airlie <airlied@redhat.com>
Mon, 8 Feb 2010 23:32:28 +0000 (09:32 +1000)
commit0ec0e74f784ca08eab0354ab1dada46924c39b73
treedc2a3d67fc5009f385b43bf9198427ff9050e39c
parent845db70da0bd285813b25bb522a0281f28efbf89
drm/radeon/kms: add a power state type based on power state flags

The idea is to flag a power state with a certain type and use
that type to decide on what state to select.  On r6xx+, we
select a state and then transition between clock modes in that
state.  On pre-r6xx, we transition between states directly.

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