Lines Matching refs:write_domain
47 uint32_t read_domains, write_domain; in radeon_cs_setup_bo() local
53 write_domain = sc->write_domain; in radeon_cs_setup_bo()
57 bo->space_accounted = sc->new_accounted = (read_domains << 16) | write_domain; in radeon_cs_setup_bo()
62 if (write_domain && (write_domain == bo->space_accounted)) { in radeon_cs_setup_bo()
72 if (write_domain) { in radeon_cs_setup_bo()
73 if (write_domain == RADEON_GEM_DOMAIN_VRAM) in radeon_cs_setup_bo()
75 else if (write_domain == RADEON_GEM_DOMAIN_GTT) in radeon_cs_setup_bo()
77 sc->new_accounted = write_domain; in radeon_cs_setup_bo()
88 if (write_domain && (old_read & write_domain)) { in radeon_cs_setup_bo()
89 sc->new_accounted = write_domain; in radeon_cs_setup_bo()
91 if (write_domain == RADEON_GEM_DOMAIN_VRAM) { in radeon_cs_setup_bo()
94 } else if (write_domain == RADEON_GEM_DOMAIN_GTT) { in radeon_cs_setup_bo()
102 if (write_domain != old_write) in radeon_cs_setup_bo()
103 … fprintf(stderr,"WRITE DOMAIN RELOC FAILURE 0x%x %d %d\n", bo->handle, write_domain, old_write); in radeon_cs_setup_bo()
170 uint32_t read_domains, uint32_t write_domain) in radeon_cs_space_add_persistent_bo() argument
178 csi->bos[i].write_domain == write_domain) in radeon_cs_space_add_persistent_bo()
185 csi->bos[i].write_domain = write_domain; in radeon_cs_space_add_persistent_bo()
214 uint32_t read_domains, uint32_t write_domain) in radeon_cs_space_check_with_bo() argument
225 temp_bo.write_domain = write_domain; in radeon_cs_space_check_with_bo()
247 csi->bos[i].write_domain = 0; in radeon_cs_space_reset_bos()