Re: [PATCH 18/24] dma-buf: add enum dma_resv_usage v3

2022-03-03 Thread Christian König
Am 02.03.22 um 18:55 schrieb Jason Ekstrand: On Wed, Dec 22, 2021 at 4:00 PM Daniel Vetter wrote: On Tue, Dec 07, 2021 at 01:34:05PM +0100, Christian König wrote: > This change adds the dma_resv_usage enum and allows us to specify why a > dma_resv object is queried for its cont

Re: [PATCH 18/24] dma-buf: add enum dma_resv_usage v3

2022-03-03 Thread Jason Ekstrand
On Wed, Dec 22, 2021 at 4:00 PM Daniel Vetter wrote: > On Tue, Dec 07, 2021 at 01:34:05PM +0100, Christian König wrote: > > This change adds the dma_resv_usage enum and allows us to specify why a > > dma_resv object is queried for its containing fences. > > > > Additional to that a dma_resv_usage

Re: [PATCH 18/24] dma-buf: add enum dma_resv_usage v3

2021-12-22 Thread Daniel Vetter
On Tue, Dec 07, 2021 at 01:34:05PM +0100, Christian König wrote: > This change adds the dma_resv_usage enum and allows us to specify why a > dma_resv object is queried for its containing fences. > > Additional to that a dma_resv_usage_rw() helper function is added to aid > retrieving the fences fo

[PATCH 18/24] dma-buf: add enum dma_resv_usage v3

2021-12-07 Thread Christian König
This change adds the dma_resv_usage enum and allows us to specify why a dma_resv object is queried for its containing fences. Additional to that a dma_resv_usage_rw() helper function is added to aid retrieving the fences for a read or write userspace submission. This is then deployed to the diffe