diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-12-19 07:17:00 +0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-06-27 00:11:45 +0400 |
commit | 44fa346f7ac0e23a53ae0a5587d14ef1c3f86647 (patch) | |
tree | e743022fa024c50060c4a94b9e79ac2ebe7378fe /drivers/gpu/drm/radeon/cikd.h | |
parent | 64f759cc6acf702d61cfb4bf0ce4a76aa6fe3be7 (diff) | |
download | linux-44fa346f7ac0e23a53ae0a5587d14ef1c3f86647.tar.xz |
drm/radeon: add get_gpu_clock_counter() callback for cik
Used for GPU clock counter snapshots.
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 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/cikd.h b/drivers/gpu/drm/radeon/cikd.h index 3349e37a60ef..daa51ac8522b 100644 --- a/drivers/gpu/drm/radeon/cikd.h +++ b/drivers/gpu/drm/radeon/cikd.h @@ -730,7 +730,9 @@ #define RLC_GPM_UCODE_ADDR 0xC388 #define RLC_GPM_UCODE_DATA 0xC38C - +#define RLC_GPU_CLOCK_COUNT_LSB 0xC390 +#define RLC_GPU_CLOCK_COUNT_MSB 0xC394 +#define RLC_CAPTURE_GPU_CLOCK_COUNT 0xC398 #define RLC_UCODE_CNTL 0xC39C #define RLC_CGCG_CGLS_CTRL 0xC424 |