aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/include/amd_shared.h
diff options
context:
space:
mode:
authorRex Zhu <[email protected]>2016-12-23 06:39:41 +0000
committerAlex Deucher <[email protected]>2017-01-27 16:12:53 +0000
commite5d03ac2b8bd6d738c8e1ed6ea9a6a164ce86d3c (patch)
tree161d8905066a7a90f51c890ce4075d60bc41e3fe /drivers/gpu/drm/amd/include/amd_shared.h
parentdrm/amd/powerplay: delete dpm code for Cz/St. (diff)
downloadkernel-e5d03ac2b8bd6d738c8e1ed6ea9a6a164ce86d3c.tar.gz
kernel-e5d03ac2b8bd6d738c8e1ed6ea9a6a164ce86d3c.zip
drm/amd/powerplay: Unify dpm level defines
Signed-off-by: Rex Zhu <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/include/amd_shared.h')
-rw-r--r--drivers/gpu/drm/amd/include/amd_shared.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h
index 85f358764bbc..c92532caa05d 100644
--- a/drivers/gpu/drm/amd/include/amd_shared.h
+++ b/drivers/gpu/drm/amd/include/amd_shared.h
@@ -80,6 +80,13 @@ enum amd_clockgating_state {
AMD_CG_STATE_UNGATE,
};
+enum amd_dpm_forced_level {
+ AMD_DPM_FORCED_LEVEL_AUTO = 0x1,
+ AMD_DPM_FORCED_LEVEL_MANUAL = 0x2,
+ AMD_DPM_FORCED_LEVEL_LOW = 0x4,
+ AMD_DPM_FORCED_LEVEL_HIGH = 0x8,
+};
+
enum amd_powergating_state {
AMD_PG_STATE_GATE = 0,
AMD_PG_STATE_UNGATE,