[PATCH] drm: Use kref_put_mutex in drm_gem_object_unreference_unlocked

Daniel Vetter daniel at ffwll.ch
Tue Apr 7 08:15:19 PDT 2015


On Tue, Apr 07, 2015 at 04:23:55PM +0200, Maarten Lankhorst wrote:
> Hey,
> 
> Op 07-04-15 om 16:19 schreef Ville Syrjälä:
> > On Tue, Apr 07, 2015 at 03:56:07PM +0200, Maarten Lankhorst wrote:
> >> If kref_put_mutex returns true then the caller or the put function is responsible
> >> for unlocking the mutex.
> > This patch introduces the kref_put_mutex() usage, so this commit
> > message is rather confusing.
> >
> This was because of the confusion that happened when doing the same in
> i915_gem_request_unreference__unlocked, so I thought I would mention it
> explicitly in the commit message. :-)

I've added a bit more text to make it clearer and applied the patch to
topic/drm-misc.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list