Home
last modified time | relevance | path

Searched refs:needs_clflush (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_domain.c633 unsigned int *needs_clflush) in i915_gem_object_prepare_read() argument
637 *needs_clflush = 0; in i915_gem_object_prepare_read()
671 *needs_clflush = CLFLUSH_BEFORE; in i915_gem_object_prepare_read()
683 unsigned int *needs_clflush) in i915_gem_object_prepare_write() argument
687 *needs_clflush = 0; in i915_gem_object_prepare_write()
721 *needs_clflush |= CLFLUSH_AFTER; in i915_gem_object_prepare_write()
728 *needs_clflush |= CLFLUSH_BEFORE; in i915_gem_object_prepare_write()
Di915_gem_object.h79 bool needs_clflush);
510 unsigned int *needs_clflush);
512 unsigned int *needs_clflush);
Di915_gem_shmem.c356 bool needs_clflush) in __i915_gem_object_release_shmem() argument
365 if (needs_clflush && in __i915_gem_object_release_shmem()
/linux-6.1.9/drivers/gpu/drm/i915/gem/selftests/
Di915_gem_coherency.c25 unsigned int needs_clflush; in cpu_set() local
32 err = i915_gem_object_prepare_write(ctx->obj, &needs_clflush); in cpu_set()
40 if (needs_clflush & CLFLUSH_BEFORE) in cpu_set()
45 if (needs_clflush & CLFLUSH_AFTER) in cpu_set()
58 unsigned int needs_clflush; in cpu_get() local
65 err = i915_gem_object_prepare_read(ctx->obj, &needs_clflush); in cpu_get()
73 if (needs_clflush & CLFLUSH_BEFORE) in cpu_get()
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_gem.c210 bool needs_clflush) in shmem_pread() argument
217 if (needs_clflush) in shmem_pread()
231 unsigned int needs_clflush; in i915_gem_shmem_pread() local
245 ret = i915_gem_object_prepare_read(obj, &needs_clflush); in i915_gem_shmem_pread()
260 needs_clflush); in i915_gem_shmem_pread()
656 unsigned int needs_clflush; in i915_gem_shmem_pwrite() local
670 ret = i915_gem_object_prepare_write(obj, &needs_clflush); in i915_gem_shmem_pwrite()
682 if (needs_clflush & CLFLUSH_BEFORE) in i915_gem_shmem_pwrite()
694 needs_clflush & CLFLUSH_AFTER); in i915_gem_shmem_pwrite()