Lines Matching refs:write_domain
44 uint32_t read_domains, write_domain; in radeon_cs_setup_bo() local
50 write_domain = sc->write_domain; in radeon_cs_setup_bo()
54 bo->space_accounted = sc->new_accounted = (read_domains << 16) | write_domain; in radeon_cs_setup_bo()
59 if (write_domain && (write_domain == bo->space_accounted)) { in radeon_cs_setup_bo()
69 if (write_domain) { in radeon_cs_setup_bo()
70 if (write_domain == RADEON_GEM_DOMAIN_VRAM) in radeon_cs_setup_bo()
72 else if (write_domain == RADEON_GEM_DOMAIN_GTT) in radeon_cs_setup_bo()
74 sc->new_accounted = write_domain; in radeon_cs_setup_bo()
85 if (write_domain && (old_read & write_domain)) { in radeon_cs_setup_bo()
86 sc->new_accounted = write_domain; in radeon_cs_setup_bo()
88 if (write_domain == RADEON_GEM_DOMAIN_VRAM) { in radeon_cs_setup_bo()
91 } else if (write_domain == RADEON_GEM_DOMAIN_GTT) { in radeon_cs_setup_bo()
99 if (write_domain != old_write) in radeon_cs_setup_bo()
100 … fprintf(stderr,"WRITE DOMAIN RELOC FAILURE 0x%x %d %d\n", bo->handle, write_domain, old_write); in radeon_cs_setup_bo()
167 uint32_t read_domains, uint32_t write_domain) in radeon_cs_space_add_persistent_bo() argument
175 csi->bos[i].write_domain == write_domain) in radeon_cs_space_add_persistent_bo()
182 csi->bos[i].write_domain = write_domain; in radeon_cs_space_add_persistent_bo()
211 uint32_t read_domains, uint32_t write_domain) in radeon_cs_space_check_with_bo() argument
222 temp_bo.write_domain = write_domain; in radeon_cs_space_check_with_bo()
244 csi->bos[i].write_domain = 0; in radeon_cs_space_reset_bos()