Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_domain.c55 if (!(obj->write_domain & flush_domains)) in flush_write_domain()
58 switch (obj->write_domain) { in flush_write_domain()
84 obj->write_domain = 0; in flush_write_domain()
96 obj->write_domain = 0; in __i915_gem_object_flush_for_display()
137 if (obj->write_domain == I915_GEM_DOMAIN_WC) in i915_gem_object_set_to_wc_domain()
164 GEM_BUG_ON((obj->write_domain & ~I915_GEM_DOMAIN_WC) != 0); in i915_gem_object_set_to_wc_domain()
168 obj->write_domain = I915_GEM_DOMAIN_WC; in i915_gem_object_set_to_wc_domain()
198 if (obj->write_domain == I915_GEM_DOMAIN_GTT) in i915_gem_object_set_to_gtt_domain()
225 GEM_BUG_ON((obj->write_domain & ~I915_GEM_DOMAIN_GTT) != 0); in i915_gem_object_set_to_gtt_domain()
231 obj->write_domain = I915_GEM_DOMAIN_GTT; in i915_gem_object_set_to_gtt_domain()
[all …]
Di915_gem_clflush.c134 GEM_BUG_ON(obj->write_domain != I915_GEM_DOMAIN_CPU); in i915_gem_clflush_object()
Di915_gem_shmem.c209 GEM_BUG_ON(obj->write_domain & I915_GEM_GPU_DOMAINS); in shmem_get_pages()
584 obj->write_domain = I915_GEM_DOMAIN_CPU; in shmem_object_init()
635 GEM_BUG_ON(obj->write_domain != I915_GEM_DOMAIN_CPU); in i915_gem_object_create_shmem_from_data()
Di915_gem_internal.c171 obj->write_domain = I915_GEM_DOMAIN_CPU; in __i915_gem_object_create_internal()
Di915_gem_object_types.h507 u16 write_domain; member
Di915_gem_pages.c35 obj->write_domain = 0; in __i915_gem_object_set_pages()
492 obj->write_domain &= ~I915_GEM_DOMAIN_CPU; in __i915_gem_object_flush_map()
Di915_gem_ttm_move.c87 obj->write_domain = I915_GEM_DOMAIN_WC; in i915_ttm_adjust_domains_after_move()
90 obj->write_domain = I915_GEM_DOMAIN_CPU; in i915_ttm_adjust_domains_after_move()
Di915_gem_execbuffer.c1424 if (unlikely(reloc->write_domain & (reloc->write_domain - 1))) { in eb_relocate_entry()
1431 reloc->write_domain); in eb_relocate_entry()
1434 if (unlikely((reloc->write_domain | reloc->read_domains) in eb_relocate_entry()
1442 reloc->write_domain); in eb_relocate_entry()
1446 if (reloc->write_domain) { in eb_relocate_entry()
1455 if (reloc->write_domain == I915_GEM_DOMAIN_INSTRUCTION && in eb_relocate_entry()
Di915_gem_dmabuf.c335 obj->write_domain = 0; in i915_gem_prime_import()
Di915_gem_userptr.c554 obj->write_domain = I915_GEM_DOMAIN_CPU; in i915_gem_userptr_ioctl()
Di915_gem_object.h558 obj->write_domain = I915_GEM_DOMAIN_CPU; in __start_cpu_write()
Di915_gem_ttm.c453 obj->write_domain = 0; in i915_ttm_purge()
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_cs.c125 + !!r->write_domain; in radeon_cs_parser_relocs()
147 uint32_t domain = r->write_domain ? in radeon_cs_parser_relocs()
148 r->write_domain : r->read_domains; in radeon_cs_parser_relocs()
186 p->relocs[i].tv.num_shared = !r->write_domain; in radeon_cs_parser_relocs()
Dradeon_gem.c477 r = radeon_gem_set_domain(gobj, args->read_domains, args->write_domain); in radeon_gem_set_domain_ioctl()
/linux-6.1.9/drivers/gpu/drm/i915/gem/selftests/
Dhuge_gem_object.c121 obj->write_domain = I915_GEM_DOMAIN_CPU; in huge_gem_object()
Dhuge_pages.c196 obj->write_domain = I915_GEM_DOMAIN_CPU; in huge_pages_object()
351 obj->write_domain = I915_GEM_DOMAIN_CPU; in fake_huge_pages_object()
Di915_gem_context.c479 obj->write_domain = 0; in cpu_fill()
/linux-6.1.9/include/uapi/drm/
Dradeon_drm.h879 __u32 write_domain; member
979 __u32 write_domain; member
Di915_drm.h1047 __u32 write_domain; member
1097 __u32 write_domain; member
/linux-6.1.9/tools/include/uapi/drm/
Di915_drm.h1047 __u32 write_domain; member
1097 __u32 write_domain; member
/linux-6.1.9/drivers/gpu/drm/i915/gvt/
Ddmabuf.c211 obj->write_domain = 0; in vgpu_create_gem()
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_debugfs.c167 obj->write_domain, in i915_debugfs_describe_obj()
Di915_vma.c1887 obj->write_domain = I915_GEM_DOMAIN_RENDER; in _i915_vma_move_to_active()
1891 obj->write_domain = 0; in _i915_vma_move_to_active()
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_ggtt.c1289 write_domain_objs |= fetch_and_zero(&obj->write_domain); in i915_ggtt_resume_vm()
/linux-6.1.9/drivers/gpu/drm/i915/selftests/
Di915_gem_gtt.c132 obj->write_domain = I915_GEM_DOMAIN_CPU; in fake_dma_object()