diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-11-07 20:05:07 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-06-27 19:15:48 -0400 |
commit | 0c4aaeae441495b21b9c7d306098ee4911bfa16a (patch) | |
tree | 6865baac28f703c024262ba1feb0ef8b63d57c69 /drivers/gpu/drm/radeon/trinityd.h | |
parent | 06793dfba2215f3d31a7a12e5fd8901f18ee035a (diff) | |
download | linux-stable-0c4aaeae441495b21b9c7d306098ee4911bfa16a.tar.gz linux-stable-0c4aaeae441495b21b9c7d306098ee4911bfa16a.tar.bz2 linux-stable-0c4aaeae441495b21b9c7d306098ee4911bfa16a.zip |
drm/radeon: add dpm UVD handling for TN asics (v2)
v2: fix typo noticed by Dan Carpenter
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/trinityd.h')
-rw-r--r-- | drivers/gpu/drm/radeon/trinityd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/trinityd.h b/drivers/gpu/drm/radeon/trinityd.h index b234d36ddce0..fd32e2771755 100644 --- a/drivers/gpu/drm/radeon/trinityd.h +++ b/drivers/gpu/drm/radeon/trinityd.h @@ -100,6 +100,9 @@ # define HT_MASK (0xffff << 16) # define HT_SHIFT 16 +#define SMU_UVD_DPM_STATES 0x1f1a0 +#define SMU_UVD_DPM_CNTL 0x1f1a4 + #define SMU_S_PG_CNTL 0x1f118 # define DS_PG_EN(x) ((x) << 16) # define DS_PG_EN_MASK (0xff << 16) @@ -198,6 +201,8 @@ # define SU_MASK (0xffff << 16) # define SU_SHIFT 16 +#define CG_MISC_REG 0x708 + #define CG_THERMAL_INT_CTRL 0x738 # define DIG_THERM_INTH(x) ((x) << 0) # define DIG_THERM_INTH_MASK (0xff << 0) |