Lines Matching defs:gpu
9 * tail -f /sys/kernel/debug/dri/<minor>/gpu
12 * and any gpu specific performance counters that are supported.
61 struct msm_gpu *gpu = priv->gpu;
72 for (i = 0; i < gpu->num_perfcntrs; i++) {
73 const struct msm_gpu_perfcntr *perfcntr = &gpu->perfcntrs[i];
90 ret = msm_gpu_perfcntr_sample(gpu, &activetime, &totaltime,
155 struct msm_gpu *gpu = priv->gpu;
158 if (!gpu)
161 mutex_lock(&gpu->lock);
173 msm_gpu_perfcntr_start(gpu);
177 mutex_unlock(&gpu->lock);
185 msm_gpu_perfcntr_stop(priv->gpu);