summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/sumod.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2012-12-05 21:59:11 +0100
committerAlex Deucher <alexander.deucher@amd.com>2013-06-28 01:15:48 +0200
commit06793dfba2215f3d31a7a12e5fd8901f18ee035a (patch)
treebfbfc972134cf100e1bc93fda7092c1f6664463c /drivers/gpu/drm/radeon/sumod.h
parentdrm/radeon: add dpm UVD handling for evergreen/btc asics (diff)
downloadlinux-06793dfba2215f3d31a7a12e5fd8901f18ee035a.tar.xz
linux-06793dfba2215f3d31a7a12e5fd8901f18ee035a.zip
drm/radeon: add dpm UVD handling for sumo asics
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/sumod.h')
-rw-r--r--drivers/gpu/drm/radeon/sumod.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/sumod.h b/drivers/gpu/drm/radeon/sumod.h
index a5deba6ebf2b..7c9c2d4b86c0 100644
--- a/drivers/gpu/drm/radeon/sumod.h
+++ b/drivers/gpu/drm/radeon/sumod.h
@@ -136,6 +136,16 @@
#define CG_SCLK_STATUS 0x604
# define SCLK_OVERCLK_DETECT (1 << 2)
+#define CG_DCLK_CNTL 0x610
+# define DCLK_DIVIDER_MASK 0x7f
+# define DCLK_DIR_CNTL_EN (1 << 8)
+#define CG_DCLK_STATUS 0x614
+# define DCLK_STATUS (1 << 0)
+#define CG_VCLK_CNTL 0x618
+# define VCLK_DIVIDER_MASK 0x7f
+# define VCLK_DIR_CNTL_EN (1 << 8)
+#define CG_VCLK_STATUS 0x61c
+
#define GENERAL_PWRMGT 0x63c
# define STATIC_PM_EN (1 << 1)