diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2012-12-18 22:17:00 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2013-06-26 16:11:45 -0400 |
commit | 44fa346f7ac0e23a53ae0a5587d14ef1c3f86647 (patch) | |
tree | e743022fa024c50060c4a94b9e79ac2ebe7378fe /drivers/gpu/drm/radeon/radeon_asic.h | |
parent | 64f759cc6acf702d61cfb4bf0ce4a76aa6fe3be7 (diff) |
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/radeon_asic.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_asic.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_asic.h b/drivers/gpu/drm/radeon/radeon_asic.h index a72759ede753..248da7205a09 100644 --- a/drivers/gpu/drm/radeon/radeon_asic.h +++ b/drivers/gpu/drm/radeon/radeon_asic.h | |||
@@ -553,4 +553,9 @@ u32 si_get_xclk(struct radeon_device *rdev); | |||
553 | uint64_t si_get_gpu_clock_counter(struct radeon_device *rdev); | 553 | uint64_t si_get_gpu_clock_counter(struct radeon_device *rdev); |
554 | int si_set_uvd_clocks(struct radeon_device *rdev, u32 vclk, u32 dclk); | 554 | int si_set_uvd_clocks(struct radeon_device *rdev, u32 vclk, u32 dclk); |
555 | 555 | ||
556 | /* | ||
557 | * cik | ||
558 | */ | ||
559 | uint64_t cik_get_gpu_clock_counter(struct radeon_device *rdev); | ||
560 | |||
556 | #endif | 561 | #endif |