aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/trinity_dpm.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2012-11-29 20:34:06 -0500
committerAlex Deucher <alexander.deucher@amd.com>2013-06-27 19:15:52 -0400
commita8dbaeff3d63957b174ce154f3a52d2292d0ab87 (patch)
tree7337144c25b4b5e7fc9cb4cf3b842029adddeefd /drivers/gpu/drm/radeon/trinity_dpm.h
parentdrm/radeon/dpm: fixup dynamic state adjust for sumo (diff)
downloadlinux-dev-a8dbaeff3d63957b174ce154f3a52d2292d0ab87.tar.xz
linux-dev-a8dbaeff3d63957b174ce154f3a52d2292d0ab87.zip
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>
Diffstat (limited to 'drivers/gpu/drm/radeon/trinity_dpm.h')
-rw-r--r--drivers/gpu/drm/radeon/trinity_dpm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/trinity_dpm.h b/drivers/gpu/drm/radeon/trinity_dpm.h
index 31100ac64245..c663aed6aeea 100644
--- a/drivers/gpu/drm/radeon/trinity_dpm.h
+++ b/drivers/gpu/drm/radeon/trinity_dpm.h
@@ -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