summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/ci_dpm.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2014-11-07 19:52:12 +0300
committerAlex Deucher <alexander.deucher@amd.com>2014-11-12 19:56:37 +0300
commit34fc0b58d91f7eef2884b5ae798f760323831ae7 (patch)
treee49e3d6984a2b596f7f30f5d93789523a78a049c /drivers/gpu/drm/radeon/ci_dpm.h
parent727b3d25be4116315f4488ee1918ec64927b3eb4 (diff)
downloadlinux-34fc0b58d91f7eef2884b5ae798f760323831ae7.tar.xz
drm/radeon/ci: handle gpio controlled dpm features properly
Certain feature enablement depends on entries in the atom gpio pin table. Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/ci_dpm.h')
-rw-r--r--drivers/gpu/drm/radeon/ci_dpm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/ci_dpm.h b/drivers/gpu/drm/radeon/ci_dpm.h
index 93bbed977ffb..615cb2cacf2c 100644
--- a/drivers/gpu/drm/radeon/ci_dpm.h
+++ b/drivers/gpu/drm/radeon/ci_dpm.h
@@ -33,6 +33,8 @@
#define CISLANDS_MAX_HARDWARE_POWERLEVELS 2
+#define CISLANDS_UNUSED_GPIO_PIN 0x7F
+
struct ci_pl {
u32 mclk;
u32 sclk;