Home
last modified time | relevance | path

Searched refs:new_fences (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/i915/
Di915_deps.c82 struct dma_fence **new_fences; in i915_deps_grow() local
85 new_fences = kmalloc_array(new_size, sizeof(*new_fences), deps->gfp); in i915_deps_grow()
86 if (!new_fences) in i915_deps_grow()
89 memcpy(new_fences, deps->fences, in i915_deps_grow()
90 deps->fences_size * sizeof(*new_fences)); in i915_deps_grow()
91 swap(new_fences, deps->fences); in i915_deps_grow()
92 if (new_fences != &deps->single) in i915_deps_grow()
93 kfree(new_fences); in i915_deps_grow()
/drivers/dma-buf/
Ddma-resv.c569 struct dma_fence **new_fences; in dma_resv_get_fences() local
578 new_fences = krealloc_array(*fences, count, in dma_resv_get_fences()
581 if (count && !new_fences) { in dma_resv_get_fences()
588 *fences = new_fences; in dma_resv_get_fences()