[Intel-gfx] [PATCH RESEND 15/20] drm/exynos: drop struct_mutex from exynos_drm_gem_get_ioctl

Daniel Vetter daniel at ffwll.ch
Thu Nov 19 08:59:18 PST 2015


On Thu, Nov 19, 2015 at 04:50:11PM +0000, Daniel Stone wrote:
> Hi,
> 
> On 19 November 2015 at 16:46, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> > @@ -367,7 +364,6 @@ int exynos_drm_gem_get_ioctl(struct drm_device *dev, void *data,
> >         args->size = exynos_gem->size;
> >
> >         drm_gem_object_unreference(obj);
> > -       mutex_unlock(&dev->struct_mutex);
> 
> drm_gem_object_unreference_unlocked, surely ...

Yeah, and then I go and do a grep for this and spot piles more offenders.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the Intel-gfx mailing list