drm/radeon/kms/atom/pm: rework power mode parsing
authorAlex Deucher <alexdeucher@gmail.com>
Thu, 22 Apr 2010 17:25:06 +0000 (13:25 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 18 May 2010 08:20:52 +0000 (18:20 +1000)
commit02b17cc05372ab58e9638008d0206f1c1ee0cf5c
tree1a8e1c4f209fa432e3841ad4a028f90e4270481f
parentef6e6cf56aca91c0b0db8de6e79e0874595fd260
drm/radeon/kms/atom/pm: rework power mode parsing

On pre-r6xx, the power mode array is usually ordered:
low
...
high
default

On r6xx+:
default
low
...
high

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