aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2012-11-29 20:27:50 -0500
committerAlex Deucher <alexander.deucher@amd.com>2013-06-27 19:15:51 -0400
commit7cf36de9eb584e7d0b4956b1c17d46a083bb30c4 (patch)
tree0bff80e8d4764b4f60f11261875ada9968b5d139 /drivers/gpu/drm/radeon/radeon.h
parentdrm/radeon/dpm: track whether we are on AC or battery (diff)
downloadlinux-dev-7cf36de9eb584e7d0b4956b1c17d46a083bb30c4.tar.xz
linux-dev-7cf36de9eb584e7d0b4956b1c17d46a083bb30c4.zip
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>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r--drivers/gpu/drm/radeon/radeon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index db31f20e2204..0c33887ca2ba 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -1289,6 +1289,7 @@ struct radeon_dpm {
struct radeon_ps *boot_ps;
/* default uvd power state */
struct radeon_ps *uvd_ps;
+ struct radeon_ps hw_ps;
enum radeon_pm_state_type state;
enum radeon_pm_state_type user_state;
u32 platform_caps;