Re: [Intel-gfx] [PATCH] dma-buf: Update reservation shared_count after adding the new fence

2018-10-26 Thread Koenig, Christian
Am 26.10.18 um 10:03 schrieb Chris Wilson: > We need to serialise the addition of a new fence into the shared list > such that the fence is visible before we claim it is there. Otherwise a > concurrent reader of the shared fence list will see an uninitialised > fence slot before it is set. > ><

[Intel-gfx] [PATCH] dma-buf: Update reservation shared_count after adding the new fence

2018-10-26 Thread Chris Wilson
We need to serialise the addition of a new fence into the shared list such that the fence is visible before we claim it is there. Otherwise a concurrent reader of the shared fence list will see an uninitialised fence slot before it is set. <4> [109.613162] general protection fault: [#1] PRE