Re: [PATCH 1/6] dma-buf: move dma_resv_prune_unlocked into dma_resv.c

2021-11-25 Thread Christian König
Am 25.11.21 um 10:31 schrieb Maarten Lankhorst: [SNIP] diff --git a/include/linux/dma-resv.h b/include/linux/dma-resv.h index eebf04325b34..e0558429a5ee 100644 --- a/include/linux/dma-resv.h +++ b/include/linux/dma-resv.h @@ -458,6 +458,7 @@ void dma_resv_fini(struct dma_resv *obj); int

Re: [PATCH 1/6] dma-buf: move dma_resv_prune_unlocked into dma_resv.c

2021-11-25 Thread Maarten Lankhorst
On 28-10-2021 15:26, Christian König wrote: > The i915 driver implements a prune function which is called when it is very > likely that the fences inside the dma_resv object can be removed because they > are all signaled. > > Move that function into the dma-resv.c code since the behavior of

[PATCH 1/6] dma-buf: move dma_resv_prune_unlocked into dma_resv.c

2021-10-28 Thread Christian König
The i915 driver implements a prune function which is called when it is very likely that the fences inside the dma_resv object can be removed because they are all signaled. Move that function into the dma-resv.c code since the behavior of pruning fences is something internal to the object.