Re: [PATCH 1/2] drm/amdgpu: add independent DMA-buf export v7

2019-10-28 Thread Christian König
Am 26.10.19 um 00:32 schrieb Alex Deucher: On Fri, Oct 25, 2019 at 8:16 AM Christian König wrote: [SNIP] diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c index 6f0b789a0b49..b319254537b8 100644 ---

Re: [PATCH 1/2] drm/amdgpu: add independent DMA-buf export v7

2019-10-25 Thread Alex Deucher
On Fri, Oct 25, 2019 at 8:16 AM Christian König wrote: > > Add an DMA-buf export implementation independent of the DRM helpers. > > This not only avoids the caching of DMA-buf mappings, but also > allows us to use the new dynamic locking approach. > > This is also a prerequisite of unpinned

[PATCH 1/2] drm/amdgpu: add independent DMA-buf export v7

2019-10-25 Thread Christian König
Add an DMA-buf export implementation independent of the DRM helpers. This not only avoids the caching of DMA-buf mappings, but also allows us to use the new dynamic locking approach. This is also a prerequisite of unpinned DMA-buf handling. v2: fix unintended recursion, remove debugging