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

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:27:50 -05:00
parent 5ca302f701
commit 7cf36de9eb
4 changed files with 19 additions and 1 deletions

View File

@@ -129,6 +129,7 @@ struct sumo_power_info {
bool enable_dynamic_patch_ps;
bool enable_dpm;
bool enable_boost;
struct sumo_ps hw_ps;
};
#define SUMO_UTC_DFLT_00 0x48