drm/radeon/dpm: fixup dynamic state adjust for TN

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

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Alex Deucher 2012-11-29 20:34:06 -05:00
parent 7cf36de9eb
commit a8dbaeff3d
2 changed files with 6 additions and 0 deletions

View file

@ -110,6 +110,7 @@ struct trinity_power_info {
bool enable_dpm;
bool enable_sclk_ds;
bool uvd_dpm;
struct trinity_ps hw_ps;
};
#define TRINITY_AT_DFLT 30