Home
last modified time | relevance | path

Searched refs:write_domain (Results 1 – 22 of 22) sorted by relevance

/drivers/gpu/drm/i915/gem/
Di915_gem_domain.c25 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() local
591 if ((write_domain | read_domains) & I915_GEM_GPU_DOMAINS) in i915_gem_set_domain_ioctl()
[all …]
Di915_gem_object.c265 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()
Di915_gem_shmem.c49 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()
Di915_gem_object_types.h144 u16 write_domain; member
Di915_gem_clflush.c120 GEM_BUG_ON(obj->write_domain != I915_GEM_DOMAIN_CPU); in i915_gem_clflush_object()
Di915_gem_pages.c23 obj->write_domain = 0; in __i915_gem_object_set_pages()
368 obj->write_domain &= ~I915_GEM_DOMAIN_CPU; in __i915_gem_object_flush_map()
Di915_gem_execbuffer.c1128 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()
Di915_gem_internal.c192 obj->write_domain = I915_GEM_DOMAIN_CPU; in i915_gem_object_create_internal()
Di915_gem_dmabuf.c302 obj->write_domain = 0; in i915_gem_prime_import()
Di915_gem_client_blt.c174 obj->write_domain = 0; in clear_pages_worker()
Di915_gem_object.h421 obj->write_domain = I915_GEM_DOMAIN_CPU; in __start_cpu_write()
Di915_gem_userptr.c819 obj->write_domain = I915_GEM_DOMAIN_CPU; in i915_gem_userptr_ioctl()
/drivers/gpu/drm/radeon/
Dradeon_cs.c125 + !!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()
Dradeon_gem.c402 r = radeon_gem_set_domain(gobj, args->read_domains, args->write_domain); in radeon_gem_set_domain_ioctl()
/drivers/gpu/drm/i915/gem/selftests/
Dhuge_gem_object.c117 obj->write_domain = I915_GEM_DOMAIN_CPU; in huge_gem_object()
Dhuge_pages.c171 obj->write_domain = I915_GEM_DOMAIN_CPU; in huge_pages_object()
324 obj->write_domain = I915_GEM_DOMAIN_CPU; in fake_huge_pages_object()
Di915_gem_context.c238 obj->write_domain = 0; in cpu_fill()
/drivers/gpu/drm/i915/
Di915_vma.c916 obj->write_domain = I915_GEM_DOMAIN_RENDER; in i915_vma_move_to_active()
924 obj->write_domain = 0; in i915_vma_move_to_active()
Di915_gem_gtt.c3331 flush |= fetch_and_zero(&obj->write_domain); in ggtt_restore_mappings()
Di915_debugfs.c151 obj->write_domain, in describe_obj()
/drivers/gpu/drm/i915/gvt/
Ddmabuf.c167 obj->write_domain = 0; in vgpu_create_gem()
/drivers/gpu/drm/i915/selftests/
Di915_gem_gtt.c131 obj->write_domain = I915_GEM_DOMAIN_CPU; in fake_dma_object()