Home
last modified time | relevance | path

Searched refs:hi_check (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Dgfx_v10_0.c7509 uint64_t clock, clock_lo, clock_hi, hi_check; in gfx_v10_0_get_gpu_clock_counter() local
7518 hi_check = RREG32_SOC15_NO_KIQ(SMUIO, 0, mmGOLDEN_TSC_COUNT_UPPER_Vangogh); in gfx_v10_0_get_gpu_clock_counter()
7522 if (hi_check != clock_hi) { in gfx_v10_0_get_gpu_clock_counter()
7524 clock_hi = hi_check; in gfx_v10_0_get_gpu_clock_counter()
7533 hi_check = RREG32_SOC15_NO_KIQ(SMUIO, 0, mmGOLDEN_TSC_COUNT_UPPER_GC_10_3_6); in gfx_v10_0_get_gpu_clock_counter()
7537 if (hi_check != clock_hi) { in gfx_v10_0_get_gpu_clock_counter()
7539 clock_hi = hi_check; in gfx_v10_0_get_gpu_clock_counter()
7548 hi_check = RREG32_SOC15_NO_KIQ(SMUIO, 0, mmGOLDEN_TSC_COUNT_UPPER); in gfx_v10_0_get_gpu_clock_counter()
7552 if (hi_check != clock_hi) { in gfx_v10_0_get_gpu_clock_counter()
7554 clock_hi = hi_check; in gfx_v10_0_get_gpu_clock_counter()
Dgfx_v9_0.c4019 uint64_t clock, clock_lo, clock_hi, hi_check; in gfx_v9_0_get_gpu_clock_counter() local
4026 hi_check = RREG32_SOC15_NO_KIQ(SMUIO, 0, mmGOLDEN_TSC_COUNT_UPPER_Renoir); in gfx_v9_0_get_gpu_clock_counter()
4030 if (hi_check != clock_hi) { in gfx_v9_0_get_gpu_clock_counter()
4032 clock_hi = hi_check; in gfx_v9_0_get_gpu_clock_counter()