Searched refs:hi_check (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A 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()
|
H A D | gfx_v9_0.c | 3999 uint64_t clock, clock_lo, clock_hi, hi_check; in gfx_v9_0_get_gpu_clock_counter() local 4006 hi_check = RREG32_SOC15_NO_KIQ(SMUIO, 0, mmGOLDEN_TSC_COUNT_UPPER_Renoir); in gfx_v9_0_get_gpu_clock_counter() 4010 if (hi_check != clock_hi) { in gfx_v9_0_get_gpu_clock_counter() 4012 clock_hi = hi_check; in gfx_v9_0_get_gpu_clock_counter()
|