Re: [PATCH 01/23] dma-buf: add dma_resv_replace_fences v2

2022-03-23 Thread Christian König
Am 23.03.22 um 16:55 schrieb Felix Kuehling: Am 2022-03-21 um 09:58 schrieb Christian König: This function allows to replace fences from the shared fence list when we can gurantee that the operation represented by the original fence has finished or no accesses to the resources protected by the

Re: [PATCH 01/23] dma-buf: add dma_resv_replace_fences v2

2022-03-23 Thread Felix Kuehling
Am 2022-03-21 um 09:58 schrieb Christian König: This function allows to replace fences from the shared fence list when we can gurantee that the operation represented by the original fence has finished or no accesses to the resources protected by the dma_resv object any more when the new fence f

Re: [PATCH 01/23] dma-buf: add dma_resv_replace_fences v2

2022-03-23 Thread Daniel Vetter
On Mon, Mar 21, 2022 at 02:58:34PM +0100, Christian König wrote: > This function allows to replace fences from the shared fence list when > we can gurantee that the operation represented by the original fence has > finished or no accesses to the resources protected by the dma_resv > object any more

Re: [PATCH 01/23] dma-buf: add dma_resv_replace_fences v2

2022-03-21 Thread Christian König
Mhm, crap I've forgot the cover letter. Anyway should be a well known set by now. I've polished the documentation a bit more compared to the last version and with this finally managed to correctly CC all the driver maintainers on the relevant patches. Please review and comment. Cheers, Chri

[PATCH 01/23] dma-buf: add dma_resv_replace_fences v2

2022-03-21 Thread Christian König
This function allows to replace fences from the shared fence list when we can gurantee that the operation represented by the original fence has finished or no accesses to the resources protected by the dma_resv object any more when the new fence finishes. Then use this function in the amdkfd code