drm/radeon/kms/pm: track current voltage (v2)
authorAlex Deucher <alexdeucher@gmail.com>
Mon, 7 Jun 2010 22:15:18 +0000 (18:15 -0400)
committerDave Airlie <airlied@redhat.com>
Mon, 7 Jun 2010 23:35:53 +0000 (09:35 +1000)
commit4d60173fc1b12b0c308f861620fe8e2a84f6e5da
treedd42b72d50e0859e632b2e9ffd0b7c0961b7bf86
parentaa1df0f229829109e49d1dc493252fd94a7af2a1
drm/radeon/kms/pm: track current voltage (v2)

track the current voltage level and avoid setting it
if the requested voltage is already set.

v2: check voltage type before checking current voltage

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