Home | History | Annotate | Download | only in drm

Lines Matching defs:reloc

40     Reloc writes and space checking are faster and simpler than their
49 The adding is skipped if the reloc is already present in the list, but it
60 cs_write_reloc(cs, buf) just writes a reloc that has been added using
199 static INLINE void update_reloc_domains(struct drm_radeon_cs_reloc *reloc,
204 *added_domains = (rd | wd) & ~(reloc->read_domains | reloc->write_domain);
206 reloc->read_domains |= rd;
207 reloc->write_domain |= wd;
212 struct drm_radeon_cs_reloc *reloc;
218 reloc = &csc->relocs[i];
219 if (reloc->handle == bo->handle) {
226 reloc = &csc->relocs[i];
227 if (reloc->handle == bo->handle) {
228 /* Put this reloc in the hash list.
253 struct drm_radeon_cs_reloc *reloc;
261 reloc = &csc->relocs[i];
262 if (reloc->handle == bo->handle) {
263 update_reloc_domains(reloc, rd, wd, added_domains);
270 reloc = &csc->relocs[i];
271 if (reloc->handle == bo->handle) {
272 update_reloc_domains(reloc, rd, wd, added_domains);
299 reloc = &csc->relocs[csc->crelocs];
300 reloc->handle = bo->handle;
301 reloc->read_domains = rd;
302 reloc->write_domain = wd;
303 reloc->flags = 0;