RE: [PATCH 02/11] dma-buf: add new dma_fence_chain container v2

2018-12-03 Thread Zhou, David(ChunMing)
> -Original Message- > From: Christian König > Sent: Monday, December 03, 2018 9:56 PM > To: Zhou, David(ChunMing) ; Koenig, Christian > ; dri-devel@lists.freedesktop.org; amd- > g...@lists.freedesktop.org > Subject: Re: [PATCH 02/11] dma-buf: add new dma_fence

Re: [PATCH 02/11] dma-buf: add new dma_fence_chain container v2

2018-12-03 Thread Christian König
Am 03.12.18 um 14:44 schrieb Chunming Zhou: 在 2018/12/3 21:28, Christian König 写道: Am 03.12.18 um 14:18 schrieb Chunming Zhou: 在 2018/12/3 19:00, Christian König 写道: Am 03.12.18 um 06:25 schrieb zhoucm1: On 2018年11月28日 22:50, Christian König wrote: Lockless container implementation similar

Re: [PATCH 02/11] dma-buf: add new dma_fence_chain container v2

2018-12-03 Thread Chunming Zhou
在 2018/12/3 21:28, Christian König 写道: > Am 03.12.18 um 14:18 schrieb Chunming Zhou: >> >> 在 2018/12/3 19:00, Christian König 写道: >>> Am 03.12.18 um 06:25 schrieb zhoucm1: On 2018年11月28日 22:50, Christian König wrote: > Lockless container implementation similar to a dma_fence_array,

Re: [PATCH 02/11] dma-buf: add new dma_fence_chain container v2

2018-12-03 Thread Christian König
Am 03.12.18 um 14:18 schrieb Chunming Zhou: 在 2018/12/3 19:00, Christian König 写道: Am 03.12.18 um 06:25 schrieb zhoucm1: On 2018年11月28日 22:50, Christian König wrote: Lockless container implementation similar to a dma_fence_array, but with only two elements per node and automatic garbage coll

Re: [PATCH 02/11] dma-buf: add new dma_fence_chain container v2

2018-12-03 Thread Chunming Zhou
在 2018/12/3 19:00, Christian König 写道: > Am 03.12.18 um 06:25 schrieb zhoucm1: >> >> >> On 2018年11月28日 22:50, Christian König wrote: >>> Lockless container implementation similar to a dma_fence_array, but >>> with >>> only two elements per node and automatic garbage collection. >>> >>> v2: prope

Re: [PATCH 02/11] dma-buf: add new dma_fence_chain container v2

2018-12-03 Thread Christian König
Am 03.12.18 um 06:25 schrieb zhoucm1: On 2018年11月28日 22:50, Christian König wrote: Lockless container implementation similar to a dma_fence_array, but with only two elements per node and automatic garbage collection. v2: properly document dma_fence_chain_for_each, add dma_fence_chain_find_se

Re: [PATCH 02/11] dma-buf: add new dma_fence_chain container v2

2018-12-02 Thread zhoucm1
On 2018年11月28日 22:50, Christian König wrote: Lockless container implementation similar to a dma_fence_array, but with only two elements per node and automatic garbage collection. v2: properly document dma_fence_chain_for_each, add dma_fence_chain_find_seqno, drop prev reference during gar

Re: [PATCH 02/11] dma-buf: add new dma_fence_chain container v2

2018-11-29 Thread Christian König
Am 29.11.18 um 11:32 schrieb Chris Wilson: Quoting Christian König (2018-11-28 14:50:12) +/** + * dma_fence_chain_for_each - iterate over all fences in chain + * @fence: starting point as well as current fence + * + * Iterate over all fences in the chain. We keep a reference to the current + * f

Re: [PATCH 02/11] dma-buf: add new dma_fence_chain container v2

2018-11-29 Thread Chris Wilson
Quoting Christian König (2018-11-28 14:50:12) > +/** > + * dma_fence_chain_for_each - iterate over all fences in chain > + * @fence: starting point as well as current fence > + * > + * Iterate over all fences in the chain. We keep a reference to the current > + * fence while inside the loop which m