Home | History | Annotate | Download | only in radeon

Lines Matching refs:relocs

99 	/* FIXME: we assume that each relocs use 4 dwords */
101 p->relocs = kvmalloc_array(p->nrelocs, sizeof(struct radeon_bo_list),
103 if (p->relocs == NULL) {
121 p->relocs[i].robj = gem_to_radeon_bo(gobj);
144 p->relocs[i].preferred_domains =
147 p->relocs[i].allowed_domains =
162 p->relocs[i].preferred_domains = domain;
165 p->relocs[i].allowed_domains = domain;
168 if (radeon_ttm_tt_has_userptr(p->relocs[i].robj->tbo.ttm)) {
169 uint32_t domain = p->relocs[i].preferred_domains;
177 p->relocs[i].preferred_domains = domain;
178 p->relocs[i].allowed_domains = domain;
182 if (p->relocs[i].robj->prime_shared_count) {
183 p->relocs[i].allowed_domains &= ~RADEON_GEM_DOMAIN_VRAM;
184 if (!p->relocs[i].allowed_domains) {
191 p->relocs[i].tv.bo = &p->relocs[i].robj->tbo;
192 p->relocs[i].tv.num_shared = !r->write_domain;
194 radeon_cs_buckets_add(&buckets, &p->relocs[i].tv.head,
455 if (parser->relocs != NULL) {
457 struct radeon_bo *bo = parser->relocs[i].robj;
465 kvfree(parser->relocs);
540 bo = p->relocs[i].robj;
884 DRM_ERROR("Relocs at %d after relocations chunk end %d !\n",
891 *cs_reloc = p->relocs;
896 *cs_reloc = &p->relocs[(idx / 4)];