Re: [PATCH 17/23] dma-buf: specify usage while adding fences to dma_resv obj v5

2022-04-03 Thread Christian König
Am 03.04.22 um 00:16 schrieb Bas Nieuwenhuizen: On Mon, Mar 21, 2022 at 2:59 PM Christian König wrote: [SNIP] @@ -519,17 +513,17 @@ EXPORT_SYMBOL_GPL(dma_resv_iter_first); */ struct dma_fence *dma_resv_iter_next(struct dma_resv_iter *cursor) { - unsigned int idx; + struct dma

Re: [PATCH 17/23] dma-buf: specify usage while adding fences to dma_resv obj v5

2022-04-02 Thread Bas Nieuwenhuizen
On Mon, Mar 21, 2022 at 2:59 PM Christian König wrote: > > Instead of distingting between shared and exclusive fences specify > the fence usage while adding fences. > > Rework all drivers to use this interface instead and deprecate the old one. > > v2: some kerneldoc comments suggested by Daniel >

Re: [PATCH 17/23] dma-buf: specify usage while adding fences to dma_resv obj v5

2022-04-01 Thread Daniel Vetter
On Fri, Apr 01, 2022 at 05:01:13PM +0200, Christian König wrote: > > > Am 29.03.22 um 17:43 schrieb Daniel Vetter: > > On Mon, Mar 21, 2022 at 02:58:50PM +0100, Christian König wrote: > > [SNIP] > > > /** > > > - * dma_resv_add_shared_fence - Add a fence to a shared slot > > > + * dma_resv_add_

Re: [PATCH 17/23] dma-buf: specify usage while adding fences to dma_resv obj v5

2022-04-01 Thread Christian König
Am 29.03.22 um 17:43 schrieb Daniel Vetter: On Mon, Mar 21, 2022 at 02:58:50PM +0100, Christian König wrote: [SNIP] /** - * dma_resv_add_shared_fence - Add a fence to a shared slot + * dma_resv_add_fence - Add a fence to the dma_resv obj * @obj: the reservation object - * @fence: the sha

Re: [PATCH 17/23] dma-buf: specify usage while adding fences to dma_resv obj v5

2022-03-29 Thread Daniel Vetter
On Mon, Mar 21, 2022 at 02:58:50PM +0100, Christian König wrote: > Instead of distingting between shared and exclusive fences specify > the fence usage while adding fences. > > Rework all drivers to use this interface instead and deprecate the old one. > > v2: some kerneldoc comments suggested by