summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/sumod.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2012-12-06 00:59:11 +0400
committerAlex Deucher <alexander.deucher@amd.com>2013-06-28 03:15:48 +0400
commit06793dfba2215f3d31a7a12e5fd8901f18ee035a (patch)
treebfbfc972134cf100e1bc93fda7092c1f6664463c /drivers/gpu/drm/radeon/sumod.h
parentf85392bcf94c5ae8bf55852827dcfa46f86502dc (diff)
downloadlinux-06793dfba2215f3d31a7a12e5fd8901f18ee035a.tar.xz
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)