Searched refs:clock_counter_hi_pre (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | smuio_v14_0_2.c | 42 u64 clock_counter_lo, clock_counter_hi_pre, clock_counter_hi_after; in smuio_v14_0_2_get_gpu_clock_counter() local 45 clock_counter_hi_pre = (u64)RREG32_SOC15(SMUIO, 0, regGOLDEN_TSC_COUNT_UPPER); in smuio_v14_0_2_get_gpu_clock_counter() 49 if (clock_counter_hi_pre != clock_counter_hi_after) in smuio_v14_0_2_get_gpu_clock_counter()
|
H A D | gfx_v11_0.c | 5002 uint64_t clock_counter_lo, clock_counter_hi_pre, clock_counter_hi_after; in gfx_v11_0_get_gpu_clock_counter() local 5007 clock_counter_hi_pre = (uint64_t)RREG32_SOC15(GC, 0, regCP_MES_MTIME_HI); in gfx_v11_0_get_gpu_clock_counter() 5010 if (clock_counter_hi_pre != clock_counter_hi_after) in gfx_v11_0_get_gpu_clock_counter() 5016 clock_counter_hi_pre = (uint64_t)RREG32_SOC15(SMUIO, 0, regGOLDEN_TSC_COUNT_UPPER); in gfx_v11_0_get_gpu_clock_counter() 5019 if (clock_counter_hi_pre != clock_counter_hi_after) in gfx_v11_0_get_gpu_clock_counter()
|