Lines Matching refs:gmu

24 	if (!a6xx_gmu_isidle(&a6xx_gpu->gmu))  in _a6xx_check_idle()
502 struct a6xx_gmu *gmu = &a6xx_gpu->gmu; in a6xx_set_hwcg() local
522 gmu_rmw(gmu, REG_A6XX_GPU_GMU_GX_SPTPRAC_CLOCK_CONTROL, 1, 0); in a6xx_set_hwcg()
528 gmu_rmw(gmu, REG_A6XX_GPU_GMU_GX_SPTPRAC_CLOCK_CONTROL, 0, 1); in a6xx_set_hwcg()
891 a6xx_gmu_set_oob(&a6xx_gpu->gmu, GMU_OOB_GPU_SET); in hw_init()
1128 a6xx_gmu_clear_oob(&a6xx_gpu->gmu, GMU_OOB_GPU_SET); in hw_init()
1130 if (a6xx_gpu->gmu.legacy) { in hw_init()
1132 a6xx_gmu_clear_oob(&a6xx_gpu->gmu, GMU_OOB_BOOT_SLUMBER); in hw_init()
1144 mutex_lock(&a6xx_gpu->gmu.lock); in a6xx_hw_init()
1146 mutex_unlock(&a6xx_gpu->gmu.lock); in a6xx_hw_init()
1180 gmu_write(&a6xx_gpu->gmu, REG_A6XX_GMU_GMU_PWR_COL_KEEPALIVE, 0); in a6xx_recover()
1358 gmu_write(&a6xx_gpu->gmu, REG_A6XX_GMU_GMU_PWR_COL_KEEPALIVE, 1); in a6xx_fault_detect_irq()
1525 mutex_lock(&a6xx_gpu->gmu.lock); in a6xx_pm_resume()
1527 mutex_unlock(&a6xx_gpu->gmu.lock); in a6xx_pm_resume()
1550 mutex_lock(&a6xx_gpu->gmu.lock); in a6xx_pm_suspend()
1552 mutex_unlock(&a6xx_gpu->gmu.lock); in a6xx_pm_suspend()
1568 mutex_lock(&a6xx_gpu->gmu.lock); in a6xx_get_timestamp()
1571 a6xx_gmu_set_oob(&a6xx_gpu->gmu, GMU_OOB_PERFCOUNTER_SET); in a6xx_get_timestamp()
1576 a6xx_gmu_clear_oob(&a6xx_gpu->gmu, GMU_OOB_PERFCOUNTER_SET); in a6xx_get_timestamp()
1578 mutex_unlock(&a6xx_gpu->gmu.lock); in a6xx_get_timestamp()
1623 if (pm_runtime_get_if_in_use(a6xx_gpu->gmu.dev) == 0) in a6xx_gpu_busy()
1626 busy_cycles = gmu_read64(&a6xx_gpu->gmu, in a6xx_gpu_busy()
1635 pm_runtime_put(a6xx_gpu->gmu.dev); in a6xx_gpu_busy()
1648 mutex_lock(&a6xx_gpu->gmu.lock); in a6xx_gpu_set_freq()
1650 mutex_unlock(&a6xx_gpu->gmu.lock); in a6xx_gpu_set_freq()