Lines Matching refs:read_domain
64 uint32_t read_domain; member
174 uint32_t read_domain, in cs_gem_write_reloc() argument
187 if ((read_domain && write_domain) || (!read_domain && !write_domain)) { in cs_gem_write_reloc()
193 if (read_domain == RADEON_GEM_DOMAIN_CPU) { in cs_gem_write_reloc()
217 if (write_domain && (reloc->read_domain & write_domain)) { in cs_gem_write_reloc()
218 reloc->read_domain = 0; in cs_gem_write_reloc()
220 } else if (read_domain & reloc->write_domain) { in cs_gem_write_reloc()
221 reloc->read_domain = 0; in cs_gem_write_reloc()
225 if (read_domain != reloc->read_domain) in cs_gem_write_reloc()
229 reloc->read_domain |= read_domain; in cs_gem_write_reloc()
263 reloc->read_domain = read_domain; in cs_gem_write_reloc()