[PATCH] drm/amdgpu: Attach exclusive fence to prime exported bo's. (v4)

2016-11-08 Thread Christian König
Am 08.11.2016 um 04:15 schrieb Mario Kleiner: > External clients which import our bo's wait only > for exclusive dmabuf-fences, not on shared ones, > ditto for bo's which we import from external > providers and write to. > > Therefore attach exclusive fences on prime shared buffers > if our

[PATCH] drm/amdgpu: Attach exclusive fence to prime exported bo's. (v4)

2016-11-08 Thread Mario Kleiner
External clients which import our bo's wait only for exclusive dmabuf-fences, not on shared ones, ditto for bo's which we import from external providers and write to. Therefore attach exclusive fences on prime shared buffers if our exported buffer gets imported by an external client, or if we