Home
last modified time | relevance | path

Searched refs:timeline (Results 1 – 25 of 42) sorted by relevance

12

/Linux-v4.19/drivers/gpu/drm/i915/
Di915_timeline.c13 struct i915_timeline *timeline, in i915_timeline_init() argument
26 timeline->name = name; in i915_timeline_init()
28 list_add(&timeline->link, &i915->gt.timelines); in i915_timeline_init()
32 timeline->fence_context = dma_fence_context_alloc(1); in i915_timeline_init()
34 spin_lock_init(&timeline->lock); in i915_timeline_init()
36 init_request_active(&timeline->last_request, NULL); in i915_timeline_init()
37 INIT_LIST_HEAD(&timeline->requests); in i915_timeline_init()
39 i915_syncmap_init(&timeline->sync); in i915_timeline_init()
54 struct i915_timeline *timeline; in i915_timelines_park() local
58 list_for_each_entry(timeline, &i915->gt.timelines, link) { in i915_timelines_park()
[all …]
Di915_request.c52 return to_request(fence)->timeline->name; in i915_fence_get_timeline_name()
202 struct i915_timeline *timeline; in reset_all_global_seqno() local
220 engine->timeline.seqno, in reset_all_global_seqno()
224 if (!i915_seqno_passed(seqno, engine->timeline.seqno)) { in reset_all_global_seqno()
233 GEM_BUG_ON(i915_gem_active_isset(&engine->timeline.last_request)); in reset_all_global_seqno()
237 engine->timeline.seqno = seqno; in reset_all_global_seqno()
240 list_for_each_entry(timeline, &i915->gt.timelines, link) in reset_all_global_seqno()
241 memset(timeline->global_sync, 0, sizeof(timeline->global_sync)); in reset_all_global_seqno()
324 GEM_TRACE("marking %s as inactive\n", ring->timeline->name); in advance_ring()
361 spin_lock(&engine->timeline.lock); in __retire_engine_request()
[all …]
Di915_timeline.h90 i915_timeline_get(struct i915_timeline *timeline) in i915_timeline_get() argument
92 kref_get(&timeline->kref); in i915_timeline_get()
93 return timeline; in i915_timeline_get()
97 static inline void i915_timeline_put(struct i915_timeline *timeline) in i915_timeline_put() argument
99 kref_put(&timeline->kref, __i915_timeline_free); in i915_timeline_put()
/Linux-v4.19/tools/testing/selftests/sync/
Dsync_alloc.c34 int timeline, valid; in test_alloc_timeline() local
36 timeline = sw_sync_timeline_create(); in test_alloc_timeline()
37 valid = sw_sync_timeline_is_valid(timeline); in test_alloc_timeline()
40 sw_sync_timeline_destroy(timeline); in test_alloc_timeline()
46 int timeline, fence, valid; in test_alloc_fence() local
48 timeline = sw_sync_timeline_create(); in test_alloc_fence()
49 valid = sw_sync_timeline_is_valid(timeline); in test_alloc_fence()
52 fence = sw_sync_fence_create(timeline, "allocFence", 1); in test_alloc_fence()
57 sw_sync_timeline_destroy(timeline); in test_alloc_fence()
63 int fence, timeline; in test_alloc_fence_negative() local
[all …]
Dsync_fence.c35 int timeline = sw_sync_timeline_create(); in test_fence_one_timeline_wait() local
37 valid = sw_sync_timeline_is_valid(timeline); in test_fence_one_timeline_wait()
40 fence = sw_sync_fence_create(timeline, "allocFence", 5); in test_fence_one_timeline_wait()
49 ret = sw_sync_timeline_inc(timeline, 1); in test_fence_one_timeline_wait()
57 ret = sw_sync_timeline_inc(timeline, 4); in test_fence_one_timeline_wait()
65 ret = sw_sync_timeline_inc(timeline, 10); in test_fence_one_timeline_wait()
71 sw_sync_timeline_destroy(timeline); in test_fence_one_timeline_wait()
79 int timeline = sw_sync_timeline_create(); in test_fence_one_timeline_merge() local
82 a = sw_sync_fence_create(timeline, "allocFence", 1); in test_fence_one_timeline_merge()
83 b = sw_sync_fence_create(timeline, "allocFence", 2); in test_fence_one_timeline_merge()
[all …]
Dsync_stress_parallelism.c36 int timeline; member
43 int timeline = test_data_two_threads.timeline; in test_stress_two_threads_shared_timeline_thread() local
48 fence = sw_sync_fence_create(timeline, "fence", in test_stress_two_threads_shared_timeline_thread()
66 ret = sw_sync_timeline_inc(timeline, 1); in test_stress_two_threads_shared_timeline_thread()
79 int timeline = sw_sync_timeline_create(); in test_stress_two_threads_shared_timeline() local
81 valid = sw_sync_timeline_is_valid(timeline); in test_stress_two_threads_shared_timeline()
86 test_data_two_threads.timeline = timeline; in test_stress_two_threads_shared_timeline()
108 sw_sync_timeline_destroy(timeline); in test_stress_two_threads_shared_timeline()
Dsync_merge.c35 int timeline = sw_sync_timeline_create(); in test_fence_merge_same_fence() local
37 valid = sw_sync_timeline_is_valid(timeline); in test_fence_merge_same_fence()
40 fence = sw_sync_fence_create(timeline, "allocFence", 5); in test_fence_merge_same_fence()
51 sw_sync_timeline_inc(timeline, 5); in test_fence_merge_same_fence()
57 sw_sync_timeline_destroy(timeline); in test_fence_merge_same_fence()
Dsync_stress_merge.c44 int timeline, timeline_offset, sync_point; in test_merge_stress_random_merge() local
65 timeline = timelines[timeline_offset]; in test_merge_stress_random_merge()
75 tmpfence = sw_sync_fence_create(timeline, "fence", sync_point); in test_merge_stress_random_merge()
/Linux-v4.19/drivers/gpu/drm/i915/selftests/
Dmock_timeline.c11 void mock_timeline_init(struct i915_timeline *timeline, u64 context) in mock_timeline_init() argument
13 timeline->fence_context = context; in mock_timeline_init()
15 spin_lock_init(&timeline->lock); in mock_timeline_init()
17 init_request_active(&timeline->last_request, NULL); in mock_timeline_init()
18 INIT_LIST_HEAD(&timeline->requests); in mock_timeline_init()
20 i915_syncmap_init(&timeline->sync); in mock_timeline_init()
22 INIT_LIST_HEAD(&timeline->link); in mock_timeline_init()
25 void mock_timeline_fini(struct i915_timeline *timeline) in mock_timeline_fini() argument
27 i915_timeline_fini(timeline); in mock_timeline_fini()
Dmock_engine.c30 struct i915_timeline timeline; member
157 i915_timeline_init(engine->i915, &ring->timeline, engine->name); in mock_ring()
162 ring->base.timeline = &ring->timeline; in mock_ring()
174 i915_timeline_fini(&ring->timeline); in mock_ring_free()
202 i915_timeline_init(i915, &engine->base.timeline, engine->base.name); in mock_engine()
203 lockdep_set_subclass(&engine->base.timeline.lock, TIMELINE_ENGINE); in mock_engine()
226 i915_timeline_fini(&engine->base.timeline); in mock_engine()
269 i915_timeline_fini(&engine->timeline); in mock_engine_free()
Dmock_timeline.h12 void mock_timeline_init(struct i915_timeline *timeline, u64 context);
13 void mock_timeline_fini(struct i915_timeline *timeline);
/Linux-v4.19/drivers/dma-buf/
Dsync_trace.h13 TP_PROTO(struct sync_timeline *timeline),
15 TP_ARGS(timeline),
18 __string(name, timeline->name)
23 __assign_str(name, timeline->name);
24 __entry->value = timeline->value;
/Linux-v4.19/tools/power/pm-graph/config/
Dcustom-timeline-functions.cfg29 # graph source functions in the timeline (default: false)
33 # gather detailed ftrace callgraph data on all timeline events (default: false)
45 # graph only devices longer than min in the timeline (default: 0.001 ms)
53 # insert a small visible gap between suspend and resume on the timeline (default: false)
60 # Override default timeline entries
61 # Do not use the internal default functions for timeline entries (default: false)
63 override-timeline-functions: true
65 # Override default dev timeline entries
66 # Do not use the internal default functions for dev timeline entries (default: false)
68 override-dev-timeline-functions: true
[all …]
Dexample.cfg37 # insert a small visible gap between suspend and resume on the timeline (default: false)
41 # Only capture the logs, don't generate the html timeline (default: false)
70 # graph user processes and cpu usage in the timeline (default: false)
74 # graph source functions in the timeline (default: false)
82 # Run two suspend/resumes back to back and display in the same timeline (default: false)
98 # graph only devices longer than min in the timeline (default: 0.001 ms)
104 # gather detailed ftrace callgraph data on all timeline events (default: false)
131 # Add kprobe functions to the timeline
132 # Add functions to the timeline from a text file (default: no-action)
Dfreeze.cfg37 # insert a small visible gap between suspend and resume on the timeline (default: false)
46 # graph user processes and cpu usage in the timeline (default: false)
50 # graph source functions in the timeline (default: false)
70 # graph only devices longer than min in the timeline (default: 0.001 ms)
76 # gather detailed ftrace callgraph data on all timeline events (default: false)
Dstandby.cfg37 # insert a small visible gap between suspend and resume on the timeline (default: false)
46 # graph user processes and cpu usage in the timeline (default: false)
50 # graph source functions in the timeline (default: false)
70 # graph only devices longer than min in the timeline (default: 0.001 ms)
76 # gather detailed ftrace callgraph data on all timeline events (default: false)
Dfreeze-callgraph.cfg38 # insert a small visible gap between suspend and resume on the timeline (default: false)
47 # graph user processes and cpu usage in the timeline (default: false)
51 # graph source functions in the timeline (default: false)
71 # graph only devices longer than min in the timeline (default: 0.001 ms)
77 # gather detailed ftrace callgraph data on all timeline events (default: false)
Dfreeze-dev.cfg37 # insert a small visible gap between suspend and resume on the timeline (default: false)
46 # graph user processes and cpu usage in the timeline (default: false)
50 # graph source functions in the timeline (default: false)
70 # graph only devices longer than min in the timeline (default: 0.001 ms)
76 # gather detailed ftrace callgraph data on all timeline events (default: false)
Dstandby-callgraph.cfg38 # insert a small visible gap between suspend and resume on the timeline (default: false)
47 # graph user processes and cpu usage in the timeline (default: false)
51 # graph source functions in the timeline (default: false)
71 # graph only devices longer than min in the timeline (default: 0.001 ms)
77 # gather detailed ftrace callgraph data on all timeline events (default: false)
Dsuspend-dev.cfg37 # insert a small visible gap between suspend and resume on the timeline (default: false)
46 # graph user processes and cpu usage in the timeline (default: false)
50 # graph source functions in the timeline (default: false)
70 # graph only devices longer than min in the timeline (default: 0.001 ms)
76 # gather detailed ftrace callgraph data on all timeline events (default: false)
Dsuspend-x2-proc.cfg37 # insert a small visible gap between suspend and resume on the timeline (default: false)
46 # graph user processes and cpu usage in the timeline (default: false)
50 # graph source functions in the timeline (default: false)
70 # graph only devices longer than min in the timeline (default: 0.001 ms)
76 # gather detailed ftrace callgraph data on all timeline events (default: false)
Dstandby-dev.cfg37 # insert a small visible gap between suspend and resume on the timeline (default: false)
46 # graph user processes and cpu usage in the timeline (default: false)
50 # graph source functions in the timeline (default: false)
70 # graph only devices longer than min in the timeline (default: 0.001 ms)
76 # gather detailed ftrace callgraph data on all timeline events (default: false)
Dsuspend-callgraph.cfg38 # insert a small visible gap between suspend and resume on the timeline (default: false)
47 # graph user processes and cpu usage in the timeline (default: false)
51 # graph source functions in the timeline (default: false)
71 # graph only devices longer than min in the timeline (default: 0.001 ms)
77 # gather detailed ftrace callgraph data on all timeline events (default: false)
Dsuspend.cfg37 # insert a small visible gap between suspend and resume on the timeline (default: false)
46 # graph user processes and cpu usage in the timeline (default: false)
50 # graph source functions in the timeline (default: false)
70 # graph only devices longer than min in the timeline (default: 0.001 ms)
76 # gather detailed ftrace callgraph data on all timeline events (default: false)
/Linux-v4.19/include/trace/events/
Ddma_fence.h20 __string(timeline, fence->ops->get_timeline_name(fence))
27 __assign_str(timeline, fence->ops->get_timeline_name(fence))
33 __get_str(driver), __get_str(timeline), __entry->context,

12