Lines Matching refs:domains
84 uint32_t *domains) in pushbuf_kref_fits() argument
97 if (*domains == NOUVEAU_GEM_DOMAIN_VRAM) { in pushbuf_kref_fits()
116 if ((*domains & NOUVEAU_GEM_DOMAIN_VRAM) && in pushbuf_kref_fits()
118 *domains &= NOUVEAU_GEM_DOMAIN_VRAM; in pushbuf_kref_fits()
159 uint32_t domains, domains_wr, domains_rd; in pushbuf_kref() local
161 domains = 0; in pushbuf_kref()
163 domains |= NOUVEAU_GEM_DOMAIN_VRAM; in pushbuf_kref()
165 domains |= NOUVEAU_GEM_DOMAIN_GART; in pushbuf_kref()
166 domains_wr = domains * !!(flags & NOUVEAU_BO_WR); in pushbuf_kref()
167 domains_rd = domains * !!(flags & NOUVEAU_BO_RD); in pushbuf_kref()
180 if (!(kref->valid_domains & domains)) in pushbuf_kref()
187 ( domains == NOUVEAU_GEM_DOMAIN_VRAM)) { in pushbuf_kref()
194 kref->valid_domains &= domains; in pushbuf_kref()
199 !pushbuf_kref_fits(push, bo, &domains)) in pushbuf_kref()
205 kref->valid_domains = domains; in pushbuf_kref()