Searched refs:write_domain (Results 1 – 22 of 22) sorted by relevance
25 obj->write_domain = 0; in __i915_gem_object_flush_for_display()60 if (obj->write_domain == I915_GEM_DOMAIN_WC) in i915_gem_object_set_to_wc_domain()87 GEM_BUG_ON((obj->write_domain & ~I915_GEM_DOMAIN_WC) != 0); in i915_gem_object_set_to_wc_domain()91 obj->write_domain = I915_GEM_DOMAIN_WC; in i915_gem_object_set_to_wc_domain()121 if (obj->write_domain == I915_GEM_DOMAIN_GTT) in i915_gem_object_set_to_gtt_domain()148 GEM_BUG_ON((obj->write_domain & ~I915_GEM_DOMAIN_GTT) != 0); in i915_gem_object_set_to_gtt_domain()152 obj->write_domain = I915_GEM_DOMAIN_GTT; in i915_gem_object_set_to_gtt_domain()562 GEM_BUG_ON(obj->write_domain & ~I915_GEM_DOMAIN_CPU); in i915_gem_object_set_to_cpu_domain()587 u32 write_domain = args->write_domain; in i915_gem_set_domain_ioctl() local591 if ((write_domain | read_domains) & I915_GEM_GPU_DOMAINS) in i915_gem_set_domain_ioctl()[all …]
265 if (!(obj->write_domain & flush_domains)) in i915_gem_object_flush_write_domain()268 switch (obj->write_domain) { in i915_gem_object_flush_write_domain()298 obj->write_domain = 0; in i915_gem_object_flush_write_domain()
49 GEM_BUG_ON(obj->write_domain & I915_GEM_GPU_DOMAINS); in shmem_get_pages()499 obj->write_domain = I915_GEM_DOMAIN_CPU; in i915_gem_object_create_shmem()544 GEM_BUG_ON(obj->write_domain != I915_GEM_DOMAIN_CPU); in i915_gem_object_create_shmem_from_data()
144 u16 write_domain; member
120 GEM_BUG_ON(obj->write_domain != I915_GEM_DOMAIN_CPU); in i915_gem_clflush_object()
23 obj->write_domain = 0; in __i915_gem_object_set_pages()368 obj->write_domain &= ~I915_GEM_DOMAIN_CPU; in __i915_gem_object_flush_map()
1128 obj->write_domain = 0; in reloc_move_to_gpu()1359 if (unlikely(reloc->write_domain & (reloc->write_domain - 1))) { in eb_relocate_entry()1366 reloc->write_domain); in eb_relocate_entry()1369 if (unlikely((reloc->write_domain | reloc->read_domains) in eb_relocate_entry()1377 reloc->write_domain); in eb_relocate_entry()1381 if (reloc->write_domain) { in eb_relocate_entry()1390 if (reloc->write_domain == I915_GEM_DOMAIN_INSTRUCTION && in eb_relocate_entry()
192 obj->write_domain = I915_GEM_DOMAIN_CPU; in i915_gem_object_create_internal()
302 obj->write_domain = 0; in i915_gem_prime_import()
174 obj->write_domain = 0; in clear_pages_worker()
421 obj->write_domain = I915_GEM_DOMAIN_CPU; in __start_cpu_write()
819 obj->write_domain = I915_GEM_DOMAIN_CPU; in i915_gem_userptr_ioctl()
125 + !!r->write_domain; in radeon_cs_parser_relocs()148 uint32_t domain = r->write_domain ? in radeon_cs_parser_relocs()149 r->write_domain : r->read_domains; in radeon_cs_parser_relocs()187 p->relocs[i].tv.num_shared = !r->write_domain; in radeon_cs_parser_relocs()
402 r = radeon_gem_set_domain(gobj, args->read_domains, args->write_domain); in radeon_gem_set_domain_ioctl()
117 obj->write_domain = I915_GEM_DOMAIN_CPU; in huge_gem_object()
171 obj->write_domain = I915_GEM_DOMAIN_CPU; in huge_pages_object()324 obj->write_domain = I915_GEM_DOMAIN_CPU; in fake_huge_pages_object()
238 obj->write_domain = 0; in cpu_fill()
916 obj->write_domain = I915_GEM_DOMAIN_RENDER; in i915_vma_move_to_active()924 obj->write_domain = 0; in i915_vma_move_to_active()
3331 flush |= fetch_and_zero(&obj->write_domain); in ggtt_restore_mappings()
151 obj->write_domain, in describe_obj()
167 obj->write_domain = 0; in vgpu_create_gem()
131 obj->write_domain = I915_GEM_DOMAIN_CPU; in fake_dma_object()