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>
This commit is contained in:
Alex Deucher
2012-11-29 19:27:56 -05:00
parent a8dbaeff3d
commit d22b7e406a
6 changed files with 400 additions and 9 deletions

View File

@@ -88,6 +88,7 @@ struct evergreen_power_info {
struct at ats[2];
/* smc offsets */
u16 mc_reg_table_start;
struct rv7xx_ps hw_ps;
};
#define CYPRESS_HASI_DFLT 400000