Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/i915/gem/
Di915_gem_domain.c32 if (!(obj->write_domain & flush_domains)) in flush_write_domain()
35 switch (obj->write_domain) { in flush_write_domain()
61 obj->write_domain = 0; in flush_write_domain()
73 obj->write_domain = 0; in __i915_gem_object_flush_for_display()
114 if (obj->write_domain == I915_GEM_DOMAIN_WC) in i915_gem_object_set_to_wc_domain()
141 GEM_BUG_ON((obj->write_domain & ~I915_GEM_DOMAIN_WC) != 0); in i915_gem_object_set_to_wc_domain()
145 obj->write_domain = I915_GEM_DOMAIN_WC; in i915_gem_object_set_to_wc_domain()
175 if (obj->write_domain == I915_GEM_DOMAIN_GTT) in i915_gem_object_set_to_gtt_domain()
202 GEM_BUG_ON((obj->write_domain & ~I915_GEM_DOMAIN_GTT) != 0); in i915_gem_object_set_to_gtt_domain()
208 obj->write_domain = I915_GEM_DOMAIN_GTT; in i915_gem_object_set_to_gtt_domain()
[all …]
Di915_gem_shmem.c51 GEM_BUG_ON(obj->write_domain & I915_GEM_GPU_DOMAINS); in shmem_get_pages()
538 obj->write_domain = I915_GEM_DOMAIN_CPU; in shmem_object_init()
588 GEM_BUG_ON(obj->write_domain != I915_GEM_DOMAIN_CPU); in i915_gem_object_create_shmem_from_data()
Di915_gem_clflush.c115 GEM_BUG_ON(obj->write_domain != I915_GEM_DOMAIN_CPU); in i915_gem_clflush_object()
Di915_gem_internal.c193 obj->write_domain = I915_GEM_DOMAIN_CPU; in i915_gem_object_create_internal()
Di915_gem_object_types.h440 u16 write_domain; member
Di915_gem_ttm.c277 obj->write_domain = I915_GEM_DOMAIN_WC; in i915_ttm_adjust_domains_after_move()
280 obj->write_domain = I915_GEM_DOMAIN_CPU; in i915_ttm_adjust_domains_after_move()
336 obj->write_domain = 0; in i915_ttm_purge()
Di915_gem_pages.c29 obj->write_domain = 0; in __i915_gem_object_set_pages()
472 obj->write_domain &= ~I915_GEM_DOMAIN_CPU; in __i915_gem_object_flush_map()
Di915_gem_execbuffer.c1295 if (unlikely(reloc->write_domain & (reloc->write_domain - 1))) { in eb_relocate_entry()
1302 reloc->write_domain); in eb_relocate_entry()
1305 if (unlikely((reloc->write_domain | reloc->read_domains) in eb_relocate_entry()
1313 reloc->write_domain); in eb_relocate_entry()
1317 if (reloc->write_domain) { in eb_relocate_entry()
1326 if (reloc->write_domain == I915_GEM_DOMAIN_INSTRUCTION && in eb_relocate_entry()
Di915_gem_dmabuf.c316 obj->write_domain = 0; in i915_gem_prime_import()
Di915_gem_userptr.c552 obj->write_domain = I915_GEM_DOMAIN_CPU; in i915_gem_userptr_ioctl()
Di915_gem_object.h560 obj->write_domain = I915_GEM_DOMAIN_CPU; in __start_cpu_write()
/Linux-v5.15/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.c474 r = radeon_gem_set_domain(gobj, args->read_domains, args->write_domain); in radeon_gem_set_domain_ioctl()
/Linux-v5.15/drivers/gpu/drm/i915/gem/selftests/
Dhuge_gem_object.c121 obj->write_domain = I915_GEM_DOMAIN_CPU; in huge_gem_object()
Dhuge_pages.c174 obj->write_domain = I915_GEM_DOMAIN_CPU; in huge_pages_object()
327 obj->write_domain = I915_GEM_DOMAIN_CPU; in fake_huge_pages_object()
Di915_gem_context.c482 obj->write_domain = 0; in cpu_fill()
/Linux-v5.15/include/uapi/drm/
Dradeon_drm.h879 __u32 write_domain; member
979 __u32 write_domain; member
Di915_drm.h971 __u32 write_domain; member
1021 __u32 write_domain; member
/Linux-v5.15/tools/include/uapi/drm/
Di915_drm.h971 __u32 write_domain; member
1021 __u32 write_domain; member
/Linux-v5.15/drivers/gpu/drm/i915/
Di915_vma.c1261 obj->write_domain = I915_GEM_DOMAIN_RENDER; in i915_vma_move_to_active()
1271 obj->write_domain = 0; in i915_vma_move_to_active()
Di915_debugfs.c153 obj->write_domain, in i915_debugfs_describe_obj()
/Linux-v5.15/drivers/gpu/drm/i915/gvt/
Ddmabuf.c225 obj->write_domain = 0; in vgpu_create_gem()
/Linux-v5.15/drivers/gpu/drm/i915/gt/
Dintel_ggtt.c1266 flush |= fetch_and_zero(&obj->write_domain); in i915_ggtt_resume()
/Linux-v5.15/drivers/gpu/drm/i915/selftests/
Di915_gem_gtt.c128 obj->write_domain = I915_GEM_DOMAIN_CPU; in fake_dma_object()