Lines Matching refs:gpu
106 static inline bool adreno_is_a3xx(struct adreno_gpu *gpu) in adreno_is_a3xx() argument
108 return (gpu->revn >= 300) && (gpu->revn < 400); in adreno_is_a3xx()
111 static inline bool adreno_is_a305(struct adreno_gpu *gpu) in adreno_is_a305() argument
113 return gpu->revn == 305; in adreno_is_a305()
116 static inline bool adreno_is_a320(struct adreno_gpu *gpu) in adreno_is_a320() argument
118 return gpu->revn == 320; in adreno_is_a320()
121 static inline bool adreno_is_a330(struct adreno_gpu *gpu) in adreno_is_a330() argument
123 return gpu->revn == 330; in adreno_is_a330()
126 static inline bool adreno_is_a330v2(struct adreno_gpu *gpu) in adreno_is_a330v2() argument
128 return adreno_is_a330(gpu) && (gpu->rev.patchid > 0); in adreno_is_a330v2()
131 int adreno_get_param(struct msm_gpu *gpu, uint32_t param, uint64_t *value);
132 int adreno_hw_init(struct msm_gpu *gpu);
133 uint32_t adreno_last_fence(struct msm_gpu *gpu);
134 void adreno_recover(struct msm_gpu *gpu);
135 int adreno_submit(struct msm_gpu *gpu, struct msm_gem_submit *submit,
137 void adreno_flush(struct msm_gpu *gpu);
138 void adreno_idle(struct msm_gpu *gpu);
140 void adreno_show(struct msm_gpu *gpu, struct seq_file *m);
142 void adreno_dump(struct msm_gpu *gpu);
143 void adreno_wait_ring(struct msm_gpu *gpu, uint32_t ndwords);
146 struct adreno_gpu *gpu, const struct adreno_gpu_funcs *funcs);
147 void adreno_gpu_cleanup(struct adreno_gpu *gpu);
155 adreno_wait_ring(ring->gpu, cnt+1); in OUT_PKT0()
163 adreno_wait_ring(ring->gpu, 1); in OUT_PKT2()
170 adreno_wait_ring(ring->gpu, cnt+1); in OUT_PKT3()