Home
last modified time | relevance | path

Searched refs:read_domains (Results 1 – 12 of 12) sorted by relevance

/drivers/gpu/drm/i915/
Di915_gem.c418 if (!(obj->base.read_domains & I915_GEM_DOMAIN_CPU)) { in i915_gem_shmem_pread()
750 if (!(obj->base.read_domains & I915_GEM_DOMAIN_CPU) in i915_gem_shmem_pwrite()
1182 uint32_t read_domains = args->read_domains; in i915_gem_set_domain_ioctl() local
1190 if (read_domains & 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()
1217 if (read_domains & I915_GEM_DOMAIN_GTT) { in i915_gem_set_domain_ioctl()
1637 obj->base.read_domains = obj->base.write_domain = I915_GEM_DOMAIN_CPU; in i915_gem_object_put_pages_gtt()
1757 BUG_ON(obj->base.read_domains & I915_GEM_GPU_DOMAINS); in i915_gem_object_get_pages_gtt()
2157 obj->base.read_domains &= ~I915_GEM_GPU_DOMAINS; in i915_gem_reset()
2439 if ((obj->base.read_domains & I915_GEM_DOMAIN_GTT) == 0) in i915_gem_object_finish_gtt()
[all …]
Di915_trace.h85 __field(u32, read_domains)
91 __entry->read_domains = obj->base.read_domains | (old_read << 16);
97 __entry->read_domains >> 16,
98 __entry->read_domains & 0xffff,
Di915_gem_debug.c51 (obj->base.read_domains & I915_GEM_GPU_DOMAINS) == 0) { in i915_verify_lists()
55 obj->base.read_domains); in i915_verify_lists()
Di915_gem_execbuffer.c210 reloc->read_domains, in i915_gem_execbuffer_relocate_entry()
214 if (unlikely((reloc->write_domain | reloc->read_domains) in i915_gem_execbuffer_relocate_entry()
221 reloc->read_domains, in i915_gem_execbuffer_relocate_entry()
226 target_obj->pending_read_domains |= reloc->read_domains; in i915_gem_execbuffer_relocate_entry()
775 u32 old_read = obj->base.read_domains; in i915_gem_execbuffer_move_to_active()
780 obj->base.pending_read_domains |= obj->base.read_domains; in i915_gem_execbuffer_move_to_active()
781 obj->base.read_domains = obj->base.pending_read_domains; in i915_gem_execbuffer_move_to_active()
Di915_gem_stolen.c277 obj->base.read_domains = I915_GEM_DOMAIN_GTT; in _i915_gem_object_create_stolen()
Di915_gem_context.c401 from_obj->base.read_domains = I915_GEM_DOMAIN_INSTRUCTION; in do_switch()
Di915_drv.h272 u32 read_domains; member
1651 uint32_t read_domains,
Di915_irq.c1240 err->read_domains = obj->base.read_domains; in capture_bo()
1350 if ((obj->base.read_domains & I915_GEM_DOMAIN_COMMAND) == 0) in i915_error_first_batchbuffer()
Di915_debugfs.c111 obj->base.read_domains, in describe_obj()
618 err->read_domains, in print_error_buffers()
/drivers/gpu/drm/nouveau/
Dnouveau_gem.c238 nouveau_gem_set_domain(struct drm_gem_object *gem, uint32_t read_domains, in nouveau_gem_set_domain() argument
244 (write_domains ? write_domains : read_domains); in nouveau_gem_set_domain()
441 ret = nouveau_gem_set_domain(nvbo->gem, b->read_domains, in validate_list()
/drivers/gpu/drm/radeon/
Dradeon_gem.c305 r = radeon_gem_set_domain(gobj, args->read_domains, args->write_domain); in radeon_gem_set_domain_ioctl()
Dradeon_cs.c95 r->write_domain : r->read_domains; in radeon_cs_parser_relocs()