Searched refs:hi_check (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/ |
D | gfx_v10_0.c | 7313 uint64_t clock, clock_lo, clock_hi, hi_check; in gfx_v10_0_get_gpu_clock_counter() local 7322 hi_check = RREG32_SOC15_NO_KIQ(SMUIO, 0, mmGOLDEN_TSC_COUNT_UPPER_Vangogh); in gfx_v10_0_get_gpu_clock_counter() 7326 if (hi_check != clock_hi) { in gfx_v10_0_get_gpu_clock_counter() 7328 clock_hi = hi_check; in gfx_v10_0_get_gpu_clock_counter() 7337 hi_check = RREG32_SOC15_NO_KIQ(SMUIO, 0, mmGOLDEN_TSC_COUNT_UPPER_GC_10_3_6); in gfx_v10_0_get_gpu_clock_counter() 7341 if (hi_check != clock_hi) { in gfx_v10_0_get_gpu_clock_counter() 7343 clock_hi = hi_check; in gfx_v10_0_get_gpu_clock_counter() 7352 hi_check = RREG32_SOC15_NO_KIQ(SMUIO, 0, mmGOLDEN_TSC_COUNT_UPPER); in gfx_v10_0_get_gpu_clock_counter() 7356 if (hi_check != clock_hi) { in gfx_v10_0_get_gpu_clock_counter() 7358 clock_hi = hi_check; in gfx_v10_0_get_gpu_clock_counter()
|
D | gfx_v9_0.c | 3987 uint64_t clock, clock_lo, clock_hi, hi_check; in gfx_v9_0_get_gpu_clock_counter() local 3994 hi_check = RREG32_SOC15_NO_KIQ(SMUIO, 0, mmGOLDEN_TSC_COUNT_UPPER_Renoir); in gfx_v9_0_get_gpu_clock_counter() 3998 if (hi_check != clock_hi) { in gfx_v9_0_get_gpu_clock_counter() 4000 clock_hi = hi_check; in gfx_v9_0_get_gpu_clock_counter()
|