Home
last modified time | relevance | path

Searched refs:i915_sw_fence (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.12.1/drivers/gpu/drm/i915/
Di915_sw_fence.h20 struct i915_sw_fence;
27 typedef int (*i915_sw_fence_notify_t)(struct i915_sw_fence *,
30 struct i915_sw_fence { struct
42 void __i915_sw_fence_init(struct i915_sw_fence *fence, argument
62 void i915_sw_fence_reinit(struct i915_sw_fence *fence);
65 void i915_sw_fence_fini(struct i915_sw_fence *fence);
67 static inline void i915_sw_fence_fini(struct i915_sw_fence *fence) {} in i915_sw_fence_fini()
70 void i915_sw_fence_commit(struct i915_sw_fence *fence);
72 int i915_sw_fence_await_sw_fence(struct i915_sw_fence *fence,
73 struct i915_sw_fence *after,
[all …]
Di915_sw_fence.c39 return (void *)(((struct i915_sw_fence *)addr)->fn); in i915_sw_fence_debug_hint()
49 static inline void debug_fence_init(struct i915_sw_fence *fence) in debug_fence_init()
54 static inline __maybe_unused void debug_fence_init_onstack(struct i915_sw_fence *fence) in debug_fence_init_onstack()
59 static inline void debug_fence_activate(struct i915_sw_fence *fence) in debug_fence_activate()
64 static inline void debug_fence_set_state(struct i915_sw_fence *fence, in debug_fence_set_state()
70 static inline void debug_fence_deactivate(struct i915_sw_fence *fence) in debug_fence_deactivate()
75 static inline void debug_fence_destroy(struct i915_sw_fence *fence) in debug_fence_destroy()
80 static inline __maybe_unused void debug_fence_free(struct i915_sw_fence *fence) in debug_fence_free()
86 static inline void debug_fence_assert(struct i915_sw_fence *fence) in debug_fence_assert()
93 static inline void debug_fence_init(struct i915_sw_fence *fence) in debug_fence_init()
[all …]
Di915_vma_resource.h106 struct i915_sw_fence chain;
249 struct i915_sw_fence *sw_fence,
DTODO.txt23 - i915_sw_fence seems to be the main structure for the i915-gem dma_fence model.
25 here, treating everything else as a fixed platform. i915_sw_fence concepts
Di915_sw_fence_work.h28 struct i915_sw_fence chain;
Di915_vma_resource.c190 i915_vma_resource_fence_notify(struct i915_sw_fence *fence, in i915_vma_resource_fence_notify()
380 struct i915_sw_fence *sw_fence, in i915_vma_resource_bind_dep_await()
Di915_request.h243 struct i915_sw_fence submit;
253 struct i915_sw_fence semaphore;
Di915_sw_fence_work.c27 fence_notify(struct i915_sw_fence *fence, enum i915_sw_fence_notify state) in fence_notify()
Di915_active.h178 int i915_sw_fence_await_active(struct i915_sw_fence *fence,
Di915_request.c54 struct i915_sw_fence *fence;
772 submit_notify(struct i915_sw_fence *fence, enum i915_sw_fence_notify state) in submit_notify()
808 semaphore_notify(struct i915_sw_fence *fence, enum i915_sw_fence_notify state) in semaphore_notify()
1205 struct i915_sw_fence *wait = &to->submit; in emit_semaphore_wait()
Di915_active.c668 static int __await_barrier(struct i915_active *ref, struct i915_sw_fence *fence) in __await_barrier()
694 void *arg, struct i915_sw_fence *barrier) in await_active()
751 int i915_sw_fence_await_active(struct i915_sw_fence *fence, in i915_sw_fence_await_active()
DMakefile60 i915_sw_fence.o \
/linux-6.12.1/drivers/gpu/drm/i915/selftests/
Dlib_sw_fence.c30 nop_fence_notify(struct i915_sw_fence *fence, enum i915_sw_fence_notify state) in nop_fence_notify()
35 void __onstack_fence_init(struct i915_sw_fence *fence, in __onstack_fence_init()
47 void onstack_fence_fini(struct i915_sw_fence *fence) in onstack_fence_fini()
85 struct i915_sw_fence fence;
93 heap_fence_notify(struct i915_sw_fence *fence, enum i915_sw_fence_notify state) in heap_fence_notify()
108 struct i915_sw_fence *heap_fence_create(gfp_t gfp) in heap_fence_create()
131 void heap_fence_put(struct i915_sw_fence *fence) in heap_fence_put()
Dlib_sw_fence.h27 void __onstack_fence_init(struct i915_sw_fence *fence,
30 void onstack_fence_fini(struct i915_sw_fence *fence);
33 struct i915_sw_fence fence;
40 struct i915_sw_fence *heap_fence_create(gfp_t gfp);
41 void heap_fence_put(struct i915_sw_fence *fence);
Di915_sw_fence.c32 fence_notify(struct i915_sw_fence *fence, enum i915_sw_fence_notify state) in fence_notify()
46 static struct i915_sw_fence *alloc_fence(void) in alloc_fence()
48 struct i915_sw_fence *fence; in alloc_fence()
58 static void free_fence(struct i915_sw_fence *fence) in free_fence()
64 static int __test_self(struct i915_sw_fence *fence) in __test_self()
82 struct i915_sw_fence *fence; in test_self()
98 struct i915_sw_fence *A, *B, *C; in test_dag()
177 struct i915_sw_fence *A, *B; in test_AB()
225 struct i915_sw_fence *A, *B, *C; in test_ABC()
305 struct i915_sw_fence *A, *B, *C; in test_AB_C()
[all …]
Di915_active.c81 struct i915_sw_fence *submit; in __live_active_setup()
Di915_gem_evict.c450 struct i915_sw_fence fence; in igt_evict_contexts()
Di915_request.c344 struct i915_sw_fence *submit, *wait; in __igt_breadcrumbs_smoketest()
2269 struct i915_sw_fence *submit; in measure_inter_request()
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/
Dintel_huc.h44 struct i915_sw_fence fence;
Dintel_huc.c76 static int sw_fence_dummy_notify(struct i915_sw_fence *sf, in sw_fence_dummy_notify()
/linux-6.12.1/drivers/gpu/drm/i915/gem/
Di915_gem_context_types.h46 struct i915_sw_fence fence;
Di915_gem_context.c1075 engines_notify(struct i915_sw_fence *fence, enum i915_sw_fence_notify state) in engines_notify()
/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dintel_context_types.h209 struct i915_sw_fence blocked;
Dintel_context.c385 sw_fence_dummy_notify(struct i915_sw_fence *sf, in sw_fence_dummy_notify()
Dselftest_timeline.c1030 struct i915_sw_fence *submit; in live_hwsp_read()

12