Re: [PATCH] dma-buf/fence: Fix lock inversion within dma-fence-array

2017-11-15 Thread Chris Wilson
Quoting Chris Wilson (2017-11-14 16:27:19) > Ages ago Rob Clark noted, > > "Currently with fence-array, we have a potential deadlock situation. If > we fence_add_callback() on an array-fence, the array-fence's lock is > acquired first, and in it's ->enable_signaling() callback, it will install >

Re: [PATCH] dma-buf/fence: Fix lock inversion within dma-fence-array

2017-11-14 Thread Christian König
Am 14.11.2017 um 17:27 schrieb Chris Wilson: Ages ago Rob Clark noted, "Currently with fence-array, we have a potential deadlock situation. If we fence_add_callback() on an array-fence, the array-fence's lock is acquired first, and in it's ->enable_signaling() callback, it will install cbs on

[PATCH] dma-buf/fence: Fix lock inversion within dma-fence-array

2017-11-14 Thread Chris Wilson
Ages ago Rob Clark noted, "Currently with fence-array, we have a potential deadlock situation. If we fence_add_callback() on an array-fence, the array-fence's lock is acquired first, and in it's ->enable_signaling() callback, it will install cbs on it's array-member fences, so the array-member's