Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_domain.c65 if (!(obj->write_domain & flush_domains)) in flush_write_domain()
68 switch (obj->write_domain) { in flush_write_domain()
92 obj->write_domain = 0; in flush_write_domain()
104 obj->write_domain = 0; in __i915_gem_object_flush_for_display()
146 if (obj->write_domain == I915_GEM_DOMAIN_WC) in i915_gem_object_set_to_wc_domain()
173 GEM_BUG_ON((obj->write_domain & ~I915_GEM_DOMAIN_WC) != 0); in i915_gem_object_set_to_wc_domain()
177 obj->write_domain = I915_GEM_DOMAIN_WC; in i915_gem_object_set_to_wc_domain()
208 if (obj->write_domain == I915_GEM_DOMAIN_GTT) in i915_gem_object_set_to_gtt_domain()
235 GEM_BUG_ON((obj->write_domain & ~I915_GEM_DOMAIN_GTT) != 0); in i915_gem_object_set_to_gtt_domain()
241 obj->write_domain = I915_GEM_DOMAIN_GTT; in i915_gem_object_set_to_gtt_domain()
[all …]
Di915_gem_clflush.c135 GEM_BUG_ON(obj->write_domain != I915_GEM_DOMAIN_CPU); in i915_gem_clflush_object()
Di915_gem_shmem.c222 GEM_BUG_ON(obj->write_domain & I915_GEM_GPU_DOMAINS); in shmem_get_pages()
611 obj->write_domain = I915_GEM_DOMAIN_CPU; in shmem_object_init()
669 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.h564 u16 write_domain; member
Di915_gem_pages.c34 obj->write_domain = 0; in __i915_gem_object_set_pages()
494 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.c1436 if (unlikely(reloc->write_domain & (reloc->write_domain - 1))) { in eb_relocate_entry()
1443 reloc->write_domain); in eb_relocate_entry()
1446 if (unlikely((reloc->write_domain | reloc->read_domains) in eb_relocate_entry()
1454 reloc->write_domain); in eb_relocate_entry()
1458 if (reloc->write_domain) { in eb_relocate_entry()
1467 if (reloc->write_domain == I915_GEM_DOMAIN_INSTRUCTION && in eb_relocate_entry()
Di915_gem_dmabuf.c334 obj->write_domain = 0; in i915_gem_prime_import()
Di915_gem_userptr.c555 obj->write_domain = I915_GEM_DOMAIN_CPU; in i915_gem_userptr_ioctl()
Di915_gem_object.h794 obj->write_domain = I915_GEM_DOMAIN_CPU; in __start_cpu_write()
Di915_gem_ttm.c454 obj->write_domain = 0; in i915_ttm_purge()
/linux-6.6.21/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.c459 r = radeon_gem_set_domain(gobj, args->read_domains, args->write_domain); in radeon_gem_set_domain_ioctl()
/linux-6.6.21/drivers/gpu/drm/i915/gem/selftests/
Dhuge_gem_object.c125 obj->write_domain = I915_GEM_DOMAIN_CPU; in huge_gem_object()
Dhuge_pages.c200 obj->write_domain = I915_GEM_DOMAIN_CPU; in huge_pages_object()
355 obj->write_domain = I915_GEM_DOMAIN_CPU; in fake_huge_pages_object()
Di915_gem_context.c502 obj->write_domain = 0; in cpu_fill()
/linux-6.6.21/include/uapi/drm/
Dradeon_drm.h879 __u32 write_domain; member
979 __u32 write_domain; member
Di915_drm.h1104 __u32 write_domain; member
1154 __u32 write_domain; member
/linux-6.6.21/tools/include/uapi/drm/
Di915_drm.h1104 __u32 write_domain; member
1154 __u32 write_domain; member
/linux-6.6.21/drivers/gpu/drm/i915/gvt/
Ddmabuf.c214 obj->write_domain = 0; in vgpu_create_gem()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_debugfs.c201 obj->write_domain, in i915_debugfs_describe_obj()
Di915_vma.c1955 obj->write_domain = I915_GEM_DOMAIN_RENDER; in _i915_vma_move_to_active()
1959 obj->write_domain = 0; in _i915_vma_move_to_active()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_ggtt.c1331 write_domain_objs |= fetch_and_zero(&obj->write_domain); in i915_ggtt_resume_vm()
/linux-6.6.21/drivers/gpu/drm/i915/selftests/
Di915_gem_gtt.c136 obj->write_domain = I915_GEM_DOMAIN_CPU; in fake_dma_object()