drm/radeon: switch get_gpu_clock() to a callback (v2)
Cleans up the code for future asics v2: rebase, fix some missing radeon_asic updates Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -4609,14 +4609,14 @@ void si_fini(struct radeon_device *rdev)
|
||||
}
|
||||
|
||||
/**
|
||||
* si_get_gpu_clock - return GPU clock counter snapshot
|
||||
* si_get_gpu_clock_counter - return GPU clock counter snapshot
|
||||
*
|
||||
* @rdev: radeon_device pointer
|
||||
*
|
||||
* Fetches a GPU clock counter snapshot (SI).
|
||||
* Returns the 64 bit clock counter snapshot.
|
||||
*/
|
||||
uint64_t si_get_gpu_clock(struct radeon_device *rdev)
|
||||
uint64_t si_get_gpu_clock_counter(struct radeon_device *rdev)
|
||||
{
|
||||
uint64_t clock;
|
||||
|
||||
|
Reference in New Issue
Block a user