Lines Matching full:gpu
49 int (*get_timestamp)(struct msm_gpu *gpu, uint64_t *value);
87 * of gpu firmware to linux-firmware, the fw files were
111 * GPU specific offsets will be exported by GPU specific
143 static inline bool adreno_is_a2xx(struct adreno_gpu *gpu) in adreno_is_a2xx() argument
145 return (gpu->revn < 300); in adreno_is_a2xx()
148 static inline bool adreno_is_a20x(struct adreno_gpu *gpu) in adreno_is_a20x() argument
150 return (gpu->revn < 210); in adreno_is_a20x()
153 static inline bool adreno_is_a225(struct adreno_gpu *gpu) in adreno_is_a225() argument
155 return gpu->revn == 225; in adreno_is_a225()
158 static inline bool adreno_is_a305(struct adreno_gpu *gpu) in adreno_is_a305() argument
160 return gpu->revn == 305; in adreno_is_a305()
163 static inline bool adreno_is_a306(struct adreno_gpu *gpu) in adreno_is_a306() argument
166 return gpu->revn == 307; in adreno_is_a306()
169 static inline bool adreno_is_a320(struct adreno_gpu *gpu) in adreno_is_a320() argument
171 return gpu->revn == 320; in adreno_is_a320()
174 static inline bool adreno_is_a330(struct adreno_gpu *gpu) in adreno_is_a330() argument
176 return gpu->revn == 330; in adreno_is_a330()
179 static inline bool adreno_is_a330v2(struct adreno_gpu *gpu) in adreno_is_a330v2() argument
181 return adreno_is_a330(gpu) && (gpu->rev.patchid > 0); in adreno_is_a330v2()
184 static inline int adreno_is_a405(struct adreno_gpu *gpu) in adreno_is_a405() argument
186 return gpu->revn == 405; in adreno_is_a405()
189 static inline int adreno_is_a420(struct adreno_gpu *gpu) in adreno_is_a420() argument
191 return gpu->revn == 420; in adreno_is_a420()
194 static inline int adreno_is_a430(struct adreno_gpu *gpu) in adreno_is_a430() argument
196 return gpu->revn == 430; in adreno_is_a430()
199 static inline int adreno_is_a510(struct adreno_gpu *gpu) in adreno_is_a510() argument
201 return gpu->revn == 510; in adreno_is_a510()
204 static inline int adreno_is_a530(struct adreno_gpu *gpu) in adreno_is_a530() argument
206 return gpu->revn == 530; in adreno_is_a530()
209 static inline int adreno_is_a540(struct adreno_gpu *gpu) in adreno_is_a540() argument
211 return gpu->revn == 540; in adreno_is_a540()
214 static inline int adreno_is_a618(struct adreno_gpu *gpu) in adreno_is_a618() argument
216 return gpu->revn == 618; in adreno_is_a618()
219 static inline int adreno_is_a630(struct adreno_gpu *gpu) in adreno_is_a630() argument
221 return gpu->revn == 630; in adreno_is_a630()
224 static inline int adreno_is_a640(struct adreno_gpu *gpu) in adreno_is_a640() argument
226 return gpu->revn == 640; in adreno_is_a640()
229 static inline int adreno_is_a650(struct adreno_gpu *gpu) in adreno_is_a650() argument
231 return gpu->revn == 650; in adreno_is_a650()
234 int adreno_get_param(struct msm_gpu *gpu, uint32_t param, uint64_t *value);
237 struct drm_gem_object *adreno_fw_create_bo(struct msm_gpu *gpu,
239 int adreno_hw_init(struct msm_gpu *gpu);
240 void adreno_recover(struct msm_gpu *gpu);
241 void adreno_flush(struct msm_gpu *gpu, struct msm_ringbuffer *ring, u32 reg);
242 bool adreno_idle(struct msm_gpu *gpu, struct msm_ringbuffer *ring);
244 void adreno_show(struct msm_gpu *gpu, struct msm_gpu_state *state,
247 void adreno_dump_info(struct msm_gpu *gpu);
248 void adreno_dump(struct msm_gpu *gpu);
250 struct msm_ringbuffer *adreno_active_ring(struct msm_gpu *gpu);
257 struct adreno_gpu *gpu, const struct adreno_gpu_funcs *funcs,
259 void adreno_gpu_cleanup(struct adreno_gpu *gpu);
264 int adreno_gpu_state_get(struct msm_gpu *gpu, struct msm_gpu_state *state);
272 adreno_iommu_create_address_space(struct msm_gpu *gpu,
276 * For a5xx and a6xx targets load the zap shader that is used to pull the GPU
279 int adreno_zap_shader_load(struct msm_gpu *gpu, u32 pasid);
371 #define gpu_poll_timeout(gpu, addr, val, cond, interval, timeout) \ argument
372 readl_poll_timeout((gpu)->mmio + ((addr) << 2), val, cond, \