Re: [PATCH 00/36] drm: Fareless gem_free_object

2020-05-08 Thread Emil Velikov
On Thu, 7 May 2020 at 19:17, Sam Ravnborg wrote: > > Hi Emil. > On Thu, May 07, 2020 at 04:07:46PM +0100, Emil Velikov wrote: > > Hi all, > > > > Recently I had a look at the new dmabuf AMDGPU implementation. > > > > Seemingly it was using the wrong drm_gem_object_put API. Namely the > > locked on

Re: [PATCH 00/36] drm: Fareless gem_free_object

2020-05-07 Thread Sam Ravnborg
Hi Emil. On Thu, May 07, 2020 at 04:07:46PM +0100, Emil Velikov wrote: > Hi all, > > Recently I had a look at the new dmabuf AMDGPU implementation. > > Seemingly it was using the wrong drm_gem_object_put API. Namely the > locked one, even though the driver is struct_mutex free. > > Upon checking

[PATCH 00/36] drm: Fareless gem_free_object

2020-05-07 Thread Emil Velikov
Hi all, Recently I had a look at the new dmabuf AMDGPU implementation. Seemingly it was using the wrong drm_gem_object_put API. Namely the locked one, even though the driver is struct_mutex free. Upon checking with the documentation, I've noticed it's a bit misleading so I've went ahead and: -