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.c58 } else if (obj->base.write_domain && list_empty(&obj->gpu_write_list)) { in i915_verify_lists()
61 obj->base.write_domain, in i915_verify_lists()
74 (obj->base.write_domain & I915_GEM_GPU_DOMAINS) == 0 || in i915_verify_lists()
79 obj->base.write_domain, in i915_verify_lists()
92 (obj->base.write_domain & I915_GEM_GPU_DOMAINS) == 0) { in i915_verify_lists()
96 obj->base.write_domain); in i915_verify_lists()
108 (obj->base.write_domain & I915_GEM_GPU_DOMAINS)) { in i915_verify_lists()
112 obj->base.write_domain); in i915_verify_lists()
124 (obj->base.write_domain & I915_GEM_GPU_DOMAINS)) { in i915_verify_lists()
128 obj->base.write_domain); in i915_verify_lists()
Di915_gem.c866 if (obj->base.write_domain != I915_GEM_DOMAIN_CPU) { in i915_gem_shmem_pwrite_slow()
932 obj->base.write_domain != I915_GEM_DOMAIN_CPU) { in i915_gem_pwrite_ioctl()
987 uint32_t write_domain = args->write_domain; in i915_gem_set_domain_ioctl() local
994 if (write_domain & I915_GEM_GPU_DOMAINS) in i915_gem_set_domain_ioctl()
1003 if (write_domain != 0 && read_domains != write_domain) in i915_gem_set_domain_ioctl()
1017 ret = i915_gem_object_set_to_gtt_domain(obj, write_domain != 0); in i915_gem_set_domain_ioctl()
1026 ret = i915_gem_object_set_to_cpu_domain(obj, write_domain != 0); in i915_gem_set_domain_ioctl()
1573 if (obj->base.write_domain & flush_domains) { in i915_gem_process_flushing_list()
1574 uint32_t old_write_domain = obj->base.write_domain; in i915_gem_process_flushing_list()
1576 obj->base.write_domain = 0; in i915_gem_process_flushing_list()
[all …]
Di915_gem_execbuffer.c175 if (obj->base.write_domain && in i915_gem_object_set_to_gpu_domain()
176 (((obj->base.write_domain != obj->base.pending_read_domains || in i915_gem_object_set_to_gpu_domain()
179 flush_domains |= obj->base.write_domain; in i915_gem_object_set_to_gpu_domain()
181 obj->base.pending_read_domains & ~obj->base.write_domain; in i915_gem_object_set_to_gpu_domain()
201 obj->base.pending_write_domain = obj->base.write_domain; in i915_gem_object_set_to_gpu_domain()
296 if (unlikely(reloc->write_domain & (reloc->write_domain - 1))) { in i915_gem_execbuffer_relocate_entry()
303 reloc->write_domain); in i915_gem_execbuffer_relocate_entry()
306 if (unlikely((reloc->write_domain | reloc->read_domains) in i915_gem_execbuffer_relocate_entry()
314 reloc->write_domain); in i915_gem_execbuffer_relocate_entry()
317 if (unlikely(reloc->write_domain && target_obj->pending_write_domain && in i915_gem_execbuffer_relocate_entry()
[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_evict.c93 if (obj->base.write_domain || obj->pin_count) in i915_gem_evict_something()
109 if (!obj->base.write_domain || obj->pin_count) in i915_gem_evict_something()
Di915_drv.h197 u32 write_domain; member
1267 uint32_t write_domain);
Di915_irq.c811 err->write_domain = obj->base.write_domain; in capture_bo_list()
Di915_debugfs.c131 obj->base.write_domain, in describe_obj()
682 err->write_domain, in print_error_buffers()
/drivers/gpu/drm/radeon/
Dradeon_gem.c245 r = radeon_gem_set_domain(gobj, args->read_domains, args->write_domain); in radeon_gem_set_domain_ioctl()
Dradeon_cs.c80 p->relocs[i].lobj.wdomain = r->write_domain; in radeon_cs_parser_relocs()