Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/
Di915_gem_debug.c57 } else if (obj->base.write_domain && list_empty(&obj->gpu_write_list)) { in i915_verify_lists()
60 obj->base.write_domain, in i915_verify_lists()
73 (obj->base.write_domain & I915_GEM_GPU_DOMAINS) == 0 || in i915_verify_lists()
78 obj->base.write_domain, in i915_verify_lists()
91 (obj->base.write_domain & I915_GEM_GPU_DOMAINS) == 0) { in i915_verify_lists()
95 obj->base.write_domain); in i915_verify_lists()
107 (obj->base.write_domain & I915_GEM_GPU_DOMAINS)) { in i915_verify_lists()
111 obj->base.write_domain); in i915_verify_lists()
Di915_gem_execbuffer.c169 return (obj->base.write_domain == I915_GEM_DOMAIN_CPU || in use_cpu_reloc()
197 reloc->write_domain == I915_GEM_DOMAIN_INSTRUCTION && in i915_gem_execbuffer_relocate_entry()
204 if (unlikely(reloc->write_domain & (reloc->write_domain - 1))) { in i915_gem_execbuffer_relocate_entry()
211 reloc->write_domain); in i915_gem_execbuffer_relocate_entry()
214 if (unlikely((reloc->write_domain | reloc->read_domains) in i915_gem_execbuffer_relocate_entry()
222 reloc->write_domain); in i915_gem_execbuffer_relocate_entry()
227 target_obj->pending_write_domain |= reloc->write_domain; in i915_gem_execbuffer_relocate_entry()
701 if (obj->base.write_domain & I915_GEM_DOMAIN_CPU) in i915_gem_execbuffer_move_to_gpu()
704 flush_domains |= obj->base.write_domain; in i915_gem_execbuffer_move_to_gpu()
776 u32 old_write = obj->base.write_domain; in i915_gem_execbuffer_move_to_active()
[all …]
Di915_gem.c735 if (obj->base.write_domain != I915_GEM_DOMAIN_CPU) { in i915_gem_shmem_pwrite()
830 obj->base.write_domain != I915_GEM_DOMAIN_CPU) { in i915_gem_shmem_pwrite()
909 obj->base.write_domain != I915_GEM_DOMAIN_CPU) { in i915_gem_pwrite_ioctl()
1118 obj->base.write_domain &= ~I915_GEM_GPU_DOMAINS; in i915_gem_object_wait_rendering()
1166 obj->base.write_domain &= ~I915_GEM_GPU_DOMAINS; in i915_gem_object_wait_rendering__nonblocking()
1183 uint32_t write_domain = args->write_domain; in i915_gem_set_domain_ioctl() local
1187 if (write_domain & I915_GEM_GPU_DOMAINS) in i915_gem_set_domain_ioctl()
1196 if (write_domain != 0 && read_domains != write_domain) in i915_gem_set_domain_ioctl()
1213 ret = i915_gem_object_wait_rendering__nonblocking(obj, !write_domain); in i915_gem_set_domain_ioctl()
1218 ret = i915_gem_object_set_to_gtt_domain(obj, write_domain != 0); in i915_gem_set_domain_ioctl()
[all …]
Di915_trace.h86 __field(u32, write_domain)
92 __entry->write_domain = obj->base.write_domain | (old_write << 16);
99 __entry->write_domain >> 16,
100 __entry->write_domain & 0xffff)
Di915_gem_stolen.c276 obj->base.write_domain = I915_GEM_DOMAIN_GTT; in _i915_gem_object_create_stolen()
Di915_drv.h273 u32 write_domain; member
1652 uint32_t write_domain);
Di915_debugfs.c112 obj->base.write_domain, in describe_obj()
619 err->write_domain, in print_error_buffers()
Di915_irq.c1241 err->write_domain = obj->base.write_domain; in capture_bo()
/drivers/gpu/drm/radeon/
Dradeon_cs.c81 p->relocs[i].lobj.written = !!r->write_domain; in radeon_cs_parser_relocs()
94 uint32_t domain = r->write_domain ? in radeon_cs_parser_relocs()
95 r->write_domain : r->read_domains; in radeon_cs_parser_relocs()
Dradeon_gem.c305 r = radeon_gem_set_domain(gobj, args->read_domains, args->write_domain); in radeon_gem_set_domain_ioctl()