Lines Matching refs:a5xx_gpu
122 struct a5xx_gpu *a5xx_gpu = to_a5xx_gpu(adreno_gpu); in a5xx_lm_setup() local
138 gpu_write(gpu, REG_A5XX_GPMU_BASE_LEAKAGE, a5xx_gpu->lm_leakage); in a5xx_lm_setup()
181 struct a5xx_gpu *a5xx_gpu = to_a5xx_gpu(adreno_gpu); in a5xx_gpmu_init() local
184 if (!a5xx_gpu->gpmu_dwords) in a5xx_gpmu_init()
193 OUT_RING(ring, lower_32_bits(a5xx_gpu->gpmu_iova)); in a5xx_gpmu_init()
194 OUT_RING(ring, upper_32_bits(a5xx_gpu->gpmu_iova)); in a5xx_gpmu_init()
195 OUT_RING(ring, a5xx_gpu->gpmu_dwords); in a5xx_gpmu_init()
262 struct a5xx_gpu *a5xx_gpu = to_a5xx_gpu(adreno_gpu); in a5xx_gpmu_ucode_init() local
268 if (a5xx_gpu->gpmu_bo) in a5xx_gpmu_ucode_init()
299 &a5xx_gpu->gpmu_bo, &a5xx_gpu->gpmu_iova); in a5xx_gpmu_ucode_init()
318 msm_gem_put_vaddr(a5xx_gpu->gpmu_bo); in a5xx_gpmu_ucode_init()
319 a5xx_gpu->gpmu_dwords = dwords; in a5xx_gpmu_ucode_init()
323 if (a5xx_gpu->gpmu_iova) in a5xx_gpmu_ucode_init()
324 msm_gem_put_iova(a5xx_gpu->gpmu_bo, gpu->aspace); in a5xx_gpmu_ucode_init()
325 if (a5xx_gpu->gpmu_bo) in a5xx_gpmu_ucode_init()
326 drm_gem_object_unreference(a5xx_gpu->gpmu_bo); in a5xx_gpmu_ucode_init()
328 a5xx_gpu->gpmu_bo = NULL; in a5xx_gpmu_ucode_init()
329 a5xx_gpu->gpmu_iova = 0; in a5xx_gpmu_ucode_init()
330 a5xx_gpu->gpmu_dwords = 0; in a5xx_gpmu_ucode_init()