Searched refs:hi_check (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | gfx_v10_0.c | 7308 uint64_t clock, clock_lo, clock_hi, hi_check; in gfx_v10_0_get_gpu_clock_counter() local 7317 hi_check = RREG32_SOC15_NO_KIQ(SMUIO, 0, mmGOLDEN_TSC_COUNT_UPPER_Vangogh); in gfx_v10_0_get_gpu_clock_counter() 7321 if (hi_check != clock_hi) { in gfx_v10_0_get_gpu_clock_counter() 7323 clock_hi = hi_check; in gfx_v10_0_get_gpu_clock_counter() 7332 hi_check = RREG32_SOC15_NO_KIQ(SMUIO, 0, mmGOLDEN_TSC_COUNT_UPPER_GC_10_3_6); in gfx_v10_0_get_gpu_clock_counter() 7336 if (hi_check != clock_hi) { in gfx_v10_0_get_gpu_clock_counter() 7338 clock_hi = hi_check; in gfx_v10_0_get_gpu_clock_counter() 7347 hi_check = RREG32_SOC15_NO_KIQ(SMUIO, 0, mmGOLDEN_TSC_COUNT_UPPER); in gfx_v10_0_get_gpu_clock_counter() 7351 if (hi_check != clock_hi) { in gfx_v10_0_get_gpu_clock_counter() 7353 clock_hi = hi_check; in gfx_v10_0_get_gpu_clock_counter()
|
D | gfx_v9_0.c | 3995 uint64_t clock, clock_lo, clock_hi, hi_check; in gfx_v9_0_get_gpu_clock_counter() local 4002 hi_check = RREG32_SOC15_NO_KIQ(SMUIO, 0, mmGOLDEN_TSC_COUNT_UPPER_Renoir); in gfx_v9_0_get_gpu_clock_counter() 4006 if (hi_check != clock_hi) { in gfx_v9_0_get_gpu_clock_counter() 4008 clock_hi = hi_check; in gfx_v9_0_get_gpu_clock_counter()
|