summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/radeon.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2012-11-30 04:27:56 +0400
committerAlex Deucher <alexander.deucher@amd.com>2013-06-28 03:15:53 +0400
commitd22b7e406a4032f9208207d80c1d515267b73358 (patch)
treee4fac5f2e62ad9c5a3bf6e9eea9d4bd402f07789 /drivers/gpu/drm/radeon/radeon.h
parenta8dbaeff3d63957b174ce154f3a52d2292d0ab87 (diff)
downloadlinux-d22b7e406a4032f9208207d80c1d515267b73358.tar.xz
drm/radeon/dpm: fixup dynamic state adjust for btc (v2)
Use a dedicated copy of the current power state since we may have to adjust it on the fly. v2: fix up redundant state sets 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.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h
index 0c33887ca2ba..a0ab625553ea 100644
--- a/drivers/gpu/drm/radeon/radeon.h
+++ b/drivers/gpu/drm/radeon/radeon.h
@@ -1217,6 +1217,19 @@ struct radeon_dpm_thermal {
bool high_to_low;
};
+enum radeon_clk_action
+{
+ RADEON_SCLK_UP = 1,
+ RADEON_SCLK_DOWN
+};
+
+struct radeon_blacklist_clocks
+{
+ u32 sclk;
+ u32 mclk;
+ enum radeon_clk_action action;
+};
+
struct radeon_clock_and_voltage_limits {
u32 sclk;
u32 mclk;