[Intel-gfx] [PATCH 1/8] dma-buf: fix busy wait for new shared fences

2019-08-09 Thread Christian König
When reservation_object_add_shared_fence is replacing an old fence with a new one we should not drop the old one before the new one is in place. Otherwise other cores can busy wait for the new one to appear. Signed-off-by: Christian König --- drivers/dma-buf/reservation.c | 14 +++--- 1

Re: [Intel-gfx] [PATCH 1/8] dma-buf: fix busy wait for new shared fences

2019-08-06 Thread Chris Wilson
Quoting Christian König (2019-08-06 16:01:27) > When reservation_object_add_shared_fence is replacing an old fence with a new > one we should not drop the old one before the new one is in place. > > Otherwise other cores can busy wait for the new one to appear. I see. The reader will see a refcou