drm/radeon/dpm: fixup dynamic state adjust for btc (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 30 Nov 2012 00:27:56 +0000 (19:27 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jun 2013 23:15:53 +0000 (19:15 -0400)
commitd22b7e406a4032f9208207d80c1d515267b73358
treee4fac5f2e62ad9c5a3bf6e9eea9d4bd402f07789
parenta8dbaeff3d63957b174ce154f3a52d2292d0ab87
drm/radeon/dpm: fixup dynamic state adjust for btc (v2)

Use a dedicated copy of the current power state since
we may have to adjust it on the fly.

v2: fix up redundant state sets

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/btc_dpm.c
drivers/gpu/drm/radeon/btc_dpm.h
drivers/gpu/drm/radeon/cypress_dpm.h
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_pm.c
drivers/gpu/drm/radeon/rv770_dpm.c