summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2012-11-30 19:56:57 +0400
committerAlex Deucher <alexander.deucher@amd.com>2013-06-28 03:15:51 +0400
commit5ca302f70171ca90b43166cbf975a4b1d883b127 (patch)
tree867de5acdcf9fb7c4937fedb668d42a1e682b632 /drivers/gpu/drm/radeon/radeon.h
parent61b7d6011054ebb63a18ef8fafe4ccf1b2039b61 (diff)
downloadlinux-5ca302f70171ca90b43166cbf975a4b1d883b127.tar.xz
drm/radeon/dpm: track whether we are on AC or battery
Driver needs this information to validate power states. 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 170d72be998d..db31f20e2204 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -1309,6 +1309,7 @@ struct radeon_dpm {
u32 tdp_adjustment;
u16 load_line_slope;
bool power_control;
+ bool ac_power;
/* special states active */
bool thermal_active;
bool uvd_active;