Re: [PATCH] dma-buf/reservation: should keep later one in add fence(v2)

2018-03-06 Thread Liu, Monk
okay From: Chris Wilson <ch...@chris-wilson.co.uk> Sent: Tuesday, March 6, 2018 4:24:21 PM To: Liu, Monk; dri-de...@freedesktop.org Cc: Liu, Monk Subject: Re: [PATCH] dma-buf/reservation: should keep later one in add fence(v2) Quoting Monk Liu (2018-03-06

Re: [PATCH] dma-buf/reservation: should keep later one in add fence(v2)

2018-03-06 Thread Chris Wilson
Quoting Monk Liu (2018-03-06 03:53:10) > v2: > still check context first to avoid warning from dma_fence_is_later > apply this fix in add_shared_replace as well > > Change-Id: If6a979ba9fd6c923b82212f35f07a9ff31c86767 > Signed-off-by: Monk Liu > --- >

RE: [PATCH] dma-buf/reservation: should keep later one in add fence(v2)

2018-03-05 Thread Liu, Monk
Make sense, will give v3 -Original Message- From: Zhou, David(ChunMing) Sent: 2018年3月6日 14:08 To: Liu, Monk <monk@amd.com>; Zhou, David(ChunMing) <david1.z...@amd.com>; dri-de...@freedesktop.org Subject: Re: [PATCH] dma-buf/reservation: should keep later one in

Re: [PATCH] dma-buf/reservation: should keep later one in add fence(v2)

2018-03-05 Thread zhoucm1
cu_kfree() No additional action actually needed... /Monk -Original Message- From: Zhou, David(ChunMing) Sent: 2018年3月6日 12:25 To: Liu, Monk <monk....@amd.com>; dri-de...@freedesktop.org Subject: Re: [PATCH] dma-buf/reservation: should keep later one in add fence(v2) On 2018年03月06日 11:53,

RE: [PATCH] dma-buf/reservation: should keep later one in add fence(v2)

2018-03-05 Thread Liu, Monk
k into fobj->shared[++j], so in the end Obj->fence will point to fobj, and original old would be rcu_kfree() No additional action actually needed... /Monk -Original Message- From: Zhou, David(ChunMing) Sent: 2018年3月6日 12:25 To: Liu, Monk <monk@amd.com>; dri-de...@freedesktop.o

Re: [PATCH] dma-buf/reservation: should keep later one in add fence(v2)

2018-03-05 Thread zhoucm1
On 2018年03月06日 11:53, Monk Liu wrote: v2: still check context first to avoid warning from dma_fence_is_later apply this fix in add_shared_replace as well Change-Id: If6a979ba9fd6c923b82212f35f07a9ff31c86767 Signed-off-by: Monk Liu --- drivers/dma-buf/reservation.c | 6