Home
last modified time | relevance | path

Searched refs:nfences (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/gpu/drm/i915/selftests/
A Di915_sw_fence.c452 int nfences = 4096; in test_chain() local
457 fences = kmalloc_array(nfences, sizeof(*fences), GFP_KERNEL); in test_chain()
461 for (i = 0; i < nfences; i++) { in test_chain()
464 nfences = i; in test_chain()
474 nfences = i + 1; in test_chain()
483 for (i = nfences; --i; ) { in test_chain()
491 for (i = 0; ret == 0 && i < nfences; i++) { in test_chain()
499 for (i = 0; i < nfences; i++) in test_chain()
/linux/drivers/dma-buf/
A Dsync_file.c214 struct dma_fence **fences = NULL, **nfences, **a_fences, **b_fences; in sync_file_merge() local
273 nfences = krealloc_array(fences, i, sizeof(*fences), GFP_KERNEL); in sync_file_merge()
274 if (!nfences) in sync_file_merge()
277 fences = nfences; in sync_file_merge()
/linux/drivers/gpu/drm/i915/gem/
A Di915_gem_execbuffer.c2608 u64 nfences; in add_timeline_fence_array() local
2611 nfences = timeline_fences->fence_count; in add_timeline_fence_array()
2612 if (!nfences) in add_timeline_fence_array()
2617 if (nfences > min_t(unsigned long, in add_timeline_fence_array()
2623 if (!access_ok(user_fences, nfences * sizeof(*user_fences))) in add_timeline_fence_array()
2627 if (!access_ok(user_values, nfences * sizeof(*user_values))) in add_timeline_fence_array()
2631 (eb->num_fences + nfences) * sizeof(*f), in add_timeline_fence_array()
2642 while (nfences--) { in add_timeline_fence_array()

Completed in 12 milliseconds