Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgfx_v10_0.c7608 uint64_t clock, clock_lo, clock_hi, hi_check; in gfx_v10_0_get_gpu_clock_counter() local
7616 hi_check = RREG32_SOC15_NO_KIQ(SMUIO, 0, mmGOLDEN_TSC_COUNT_UPPER_Cyan_Skillfish); in gfx_v10_0_get_gpu_clock_counter()
7620 if (hi_check != clock_hi) { in gfx_v10_0_get_gpu_clock_counter()
7622 clock_hi = hi_check; in gfx_v10_0_get_gpu_clock_counter()
7633 hi_check = RREG32_SOC15_NO_KIQ(SMUIO, 0, mmGOLDEN_TSC_COUNT_UPPER_Vangogh); in gfx_v10_0_get_gpu_clock_counter()
7637 if (hi_check != clock_hi) { in gfx_v10_0_get_gpu_clock_counter()
7639 clock_hi = hi_check; in gfx_v10_0_get_gpu_clock_counter()
7648 hi_check = RREG32_SOC15_NO_KIQ(SMUIO, 0, mmGOLDEN_TSC_COUNT_UPPER_GC_10_3_6); in gfx_v10_0_get_gpu_clock_counter()
7652 if (hi_check != clock_hi) { in gfx_v10_0_get_gpu_clock_counter()
7654 clock_hi = hi_check; in gfx_v10_0_get_gpu_clock_counter()
[all …]
H A Dgfx_v9_0.c4268 uint64_t clock, clock_lo, clock_hi, hi_check; in gfx_v9_0_get_gpu_clock_counter() local
4275 hi_check = RREG32_SOC15_NO_KIQ(SMUIO, 0, mmGOLDEN_TSC_COUNT_UPPER_Renoir); in gfx_v9_0_get_gpu_clock_counter()
4279 if (hi_check != clock_hi) { in gfx_v9_0_get_gpu_clock_counter()
4281 clock_hi = hi_check; in gfx_v9_0_get_gpu_clock_counter()