Searched refs:needs_clflush (Results 1 – 7 of 7) sorted by relevance
29 unsigned int needs_clflush; in cpu_set() local35 err = i915_gem_object_prepare_write(ctx->obj, &needs_clflush); in cpu_set()43 if (needs_clflush & CLFLUSH_BEFORE) in cpu_set()48 if (needs_clflush & CLFLUSH_AFTER) in cpu_set()59 unsigned int needs_clflush; in cpu_get() local65 err = i915_gem_object_prepare_read(ctx->obj, &needs_clflush); in cpu_get()73 if (needs_clflush & CLFLUSH_BEFORE) in cpu_get()
581 unsigned int *needs_clflush) in i915_gem_object_prepare_read() argument585 *needs_clflush = 0; in i915_gem_object_prepare_read()621 *needs_clflush = CLFLUSH_BEFORE; in i915_gem_object_prepare_read()635 unsigned int *needs_clflush) in i915_gem_object_prepare_write() argument639 *needs_clflush = 0; in i915_gem_object_prepare_write()675 *needs_clflush |= CLFLUSH_AFTER; in i915_gem_object_prepare_write()682 *needs_clflush |= CLFLUSH_BEFORE; in i915_gem_object_prepare_write()
41 bool needs_clflush);406 unsigned int *needs_clflush);408 unsigned int *needs_clflush);
323 bool needs_clflush) in __i915_gem_object_release_shmem() argument330 if (needs_clflush && in __i915_gem_object_release_shmem()
80 unsigned int needs_clflush; in render_state_setup() local84 ret = i915_gem_object_prepare_write(so->vma->obj, &needs_clflush); in render_state_setup()160 if (needs_clflush) in render_state_setup()
322 bool needs_clflush) in shmem_pread() argument329 if (needs_clflush) in shmem_pread()343 unsigned int needs_clflush; in i915_gem_shmem_pread() local350 ret = i915_gem_object_prepare_read(obj, &needs_clflush); in i915_gem_shmem_pread()367 needs_clflush); in i915_gem_shmem_pread()761 unsigned int needs_clflush; in i915_gem_shmem_pwrite() local768 ret = i915_gem_object_prepare_write(obj, &needs_clflush); in i915_gem_shmem_pwrite()782 if (needs_clflush & CLFLUSH_BEFORE) in i915_gem_shmem_pwrite()798 needs_clflush & CLFLUSH_AFTER); in i915_gem_shmem_pwrite()
1139 bool needs_clflush; in copy_batch() local1153 needs_clflush = in copy_batch()1157 if (needs_clflush && i915_has_memcpy_from_wc()) { in copy_batch()1194 if (needs_clflush) in copy_batch()