Home
last modified time | relevance | path

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

12

/external/libdrm/radeon/
Dradeon_cs_space.c47 uint32_t read_domains, write_domain; in radeon_cs_setup_bo() local
53 write_domain = sc->write_domain; in radeon_cs_setup_bo()
57 bo->space_accounted = sc->new_accounted = (read_domains << 16) | write_domain; in radeon_cs_setup_bo()
62 if (write_domain && (write_domain == bo->space_accounted)) { in radeon_cs_setup_bo()
72 if (write_domain) { in radeon_cs_setup_bo()
73 if (write_domain == RADEON_GEM_DOMAIN_VRAM) in radeon_cs_setup_bo()
75 else if (write_domain == RADEON_GEM_DOMAIN_GTT) in radeon_cs_setup_bo()
77 sc->new_accounted = write_domain; in radeon_cs_setup_bo()
88 if (write_domain && (old_read & write_domain)) { in radeon_cs_setup_bo()
89 sc->new_accounted = write_domain; in radeon_cs_setup_bo()
[all …]
Dradeon_cs_gem.c65 uint32_t write_domain; member
175 uint32_t write_domain, in cs_gem_write_reloc() argument
187 if ((read_domain && write_domain) || (!read_domain && !write_domain)) { in cs_gem_write_reloc()
196 if (write_domain == RADEON_GEM_DOMAIN_CPU) { in cs_gem_write_reloc()
217 if (write_domain && (reloc->read_domain & write_domain)) { in cs_gem_write_reloc()
219 reloc->write_domain = write_domain; in cs_gem_write_reloc()
220 } else if (read_domain & reloc->write_domain) { in cs_gem_write_reloc()
223 if (write_domain != reloc->write_domain) in cs_gem_write_reloc()
230 reloc->write_domain |= write_domain; in cs_gem_write_reloc()
264 reloc->write_domain = write_domain; in cs_gem_write_reloc()
Dradeon_cs.h44 uint32_t write_domain; member
86 uint32_t write_domain,
99 uint32_t write_domain);
113 uint32_t write_domain);
Dradeon_cs_int.h8 uint32_t write_domain; member
41 uint32_t write_domain,
Dradeon_cs.c18 uint32_t read_domain, uint32_t write_domain, in radeon_cs_write_reloc() argument
26 write_domain, in radeon_cs_write_reloc()
Dradeon_bo_gem.h42 int radeon_gem_set_domain(struct radeon_bo *bo, uint32_t read_domains, uint32_t write_domain);
Dradeon_bo_gem.c346 radeon_gem_set_domain(struct radeon_bo *bo, uint32_t read_domains, uint32_t write_domain) in radeon_gem_set_domain() argument
354 args.write_domain = write_domain; in radeon_gem_set_domain()
/external/mesa3d/src/gallium/winsys/i915/drm/
Di915_drm_batchbuffer.c101 unsigned write_domain = 0; in i915_drm_batchbuffer_reloc() local
108 write_domain = 0; in i915_drm_batchbuffer_reloc()
112 write_domain = I915_GEM_DOMAIN_RENDER; in i915_drm_batchbuffer_reloc()
116 write_domain = I915_GEM_DOMAIN_RENDER; in i915_drm_batchbuffer_reloc()
120 write_domain = 0; in i915_drm_batchbuffer_reloc()
124 write_domain = 0; in i915_drm_batchbuffer_reloc()
138 write_domain); in i915_drm_batchbuffer_reloc()
143 write_domain); in i915_drm_batchbuffer_reloc()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_batchbuffer.h52 uint32_t write_domain,
57 uint32_t write_domain,
159 #define OUT_RELOC(buf, read_domains, write_domain, delta) do { \ argument
161 read_domains, write_domain, delta); \
163 #define OUT_RELOC_FENCED(buf, read_domains, write_domain, delta) do { \ argument
165 read_domains, write_domain, delta); \
Dintel_batchbuffer.c268 uint32_t read_domains, uint32_t write_domain, in intel_batchbuffer_emit_reloc() argument
275 read_domains, write_domain); in intel_batchbuffer_emit_reloc()
293 uint32_t write_domain, in intel_batchbuffer_emit_reloc_fenced() argument
300 read_domains, write_domain); in intel_batchbuffer_emit_reloc_fenced()
/external/libdrm/intel/
Dintel_bufmgr.c203 uint32_t read_domains, uint32_t write_domain) in drm_intel_bo_emit_reloc() argument
207 read_domains, write_domain); in drm_intel_bo_emit_reloc()
214 uint32_t read_domains, uint32_t write_domain) in drm_intel_bo_emit_reloc_fence() argument
218 read_domains, write_domain); in drm_intel_bo_emit_reloc_fence()
Dintel_bufmgr_priv.h176 uint32_t read_domains, uint32_t write_domain);
181 uint32_t write_domain);
Dintel_bufmgr_fake.c93 uint32_t write_domain; member
210 uint32_t write_domain; member
1260 uint32_t read_domains, uint32_t write_domain) in drm_intel_fake_emit_reloc() argument
1295 r->write_domain = write_domain; in drm_intel_fake_emit_reloc()
1332 target_fake->write_domain |= r->write_domain; in drm_intel_fake_calculate_domains()
1380 if (bo_fake->write_domain != 0) { in drm_intel_fake_reloc_and_validate_buffer()
1417 bo_fake->write_domain = 0; in drm_intel_bo_fake_post_submit()
Dintel_bufmgr.h149 uint32_t read_domains, uint32_t write_domain);
153 uint32_t read_domains, uint32_t write_domain);
Dintel_bufmgr_gem.c1323 set_domain.write_domain = I915_GEM_DOMAIN_CPU; in drm_intel_gem_bo_map()
1325 set_domain.write_domain = 0; in drm_intel_gem_bo_map()
1436 set_domain.write_domain = I915_GEM_DOMAIN_GTT; in drm_intel_gem_bo_map_gtt()
1725 set_domain.write_domain = write_enable ? I915_GEM_DOMAIN_GTT : 0; in drm_intel_gem_bo_start_gtt_access()
1732 set_domain.read_domains, set_domain.write_domain, in drm_intel_gem_bo_start_gtt_access()
1780 uint32_t read_domains, uint32_t write_domain, in do_bo_emit_reloc() argument
1813 assert((write_domain & (write_domain - 1)) == 0); in do_bo_emit_reloc()
1838 bo_gem->relocs[bo_gem->reloc_count].write_domain = write_domain; in do_bo_emit_reloc()
1858 uint32_t read_domains, uint32_t write_domain) in drm_intel_gem_bo_emit_reloc() argument
1863 read_domains, write_domain, in drm_intel_gem_bo_emit_reloc()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_batchbuffer.c268 uint32_t read_domains, uint32_t write_domain, in intel_batchbuffer_emit_reloc() argument
275 read_domains, write_domain); in intel_batchbuffer_emit_reloc()
293 uint32_t write_domain, in intel_batchbuffer_emit_reloc_fenced() argument
300 read_domains, write_domain); in intel_batchbuffer_emit_reloc_fenced()
Dgen7_blorp.cpp139 uint32_t read_domains, uint32_t write_domain, in gen7_blorp_emit_surface_state() argument
213 read_domains, write_domain); in gen7_blorp_emit_surface_state()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_batchbuffer.c268 uint32_t read_domains, uint32_t write_domain, in intel_batchbuffer_emit_reloc() argument
275 read_domains, write_domain); in intel_batchbuffer_emit_reloc()
293 uint32_t write_domain, in intel_batchbuffer_emit_reloc_fenced() argument
300 read_domains, write_domain); in intel_batchbuffer_emit_reloc_fenced()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c204 *added_domains = (rd | wd) & ~(reloc->read_domains | reloc->write_domain); in update_reloc_domains()
207 reloc->write_domain |= wd; in update_reloc_domains()
302 reloc->write_domain = wd; in radeon_add_reloc()
548 if ((usage & RADEON_USAGE_WRITE) && cs->csc->relocs[index].write_domain) in radeon_bo_is_referenced()
Dradeon_drm_cs.h112 return cs->csc->relocs[index].write_domain != 0; in radeon_bo_is_referenced_by_cs_for_write()
/external/drm_gralloc/
Dgralloc_drm_intel.c102 uint32_t read_domains, uint32_t write_domain) in batch_reloc() argument
109 target->ibo, 0, read_domains, write_domain); in batch_reloc()
/external/kernel-headers/original/uapi/drm/
Di915_drm.h512 __u32 write_domain; member
562 __u32 write_domain; member
Dradeon_drm.h875 uint32_t write_domain; member
975 uint32_t write_domain; member
/external/libdrm/include/drm/
Di915_drm.h512 __u32 write_domain; member
562 __u32 write_domain; member
Dradeon_drm.h851 uint32_t write_domain; member
950 uint32_t write_domain; member

12