diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2013-04-09 21:32:18 +0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-06-27 00:11:48 +0400 |
commit | 2c67912c439ca501c7a23d69183bf71eab167d35 (patch) | |
tree | eb14046b6d7c800f222679e180191b66b8935201 /drivers/gpu/drm/radeon/cikd.h | |
parent | 1d5d0c349790b66fcd338f0b5ce04b9aa7483118 (diff) | |
download | linux-2c67912c439ca501c7a23d69183bf71eab167d35.tar.xz |
drm/radeon: add get_xclk() callback for CIK
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/cikd.h')
-rw-r--r-- | drivers/gpu/drm/radeon/cikd.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/cikd.h b/drivers/gpu/drm/radeon/cikd.h index 8afb334ed291..f00e273134a8 100644 --- a/drivers/gpu/drm/radeon/cikd.h +++ b/drivers/gpu/drm/radeon/cikd.h @@ -28,6 +28,13 @@ #define CIK_RB_BITMAP_WIDTH_PER_SH 2 +/* SMC IND registers */ +#define GENERAL_PWRMGT 0xC0200000 +# define GPU_COUNTER_CLK (1 << 15) + +#define CG_CLKPIN_CNTL 0xC05001A0 +# define XTALIN_DIVIDE (1 << 1) + #define VGA_HDP_CONTROL 0x328 #define VGA_MEMORY_DISABLE (1 << 4) |