[PATCH 1/5] staging/vboxvideo: Use gem_free_object_unlocked

Daniel Vetter daniel at ffwll.ch
Tue Mar 27 09:18:03 UTC 2018


On Tue, Mar 27, 2018 at 10:34:07AM +0200, Greg Kroah-Hartman wrote:
> On Tue, Mar 27, 2018 at 10:23:52AM +0200, Daniel Vetter wrote:
> > vboxvideo doesn't use dev->struct_mutex and therefore has no need to use
> > gem_free_object.
> > 
> > Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
> > Cc: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> > Cc: Hans de Goede <hdegoede at redhat.com>
> > Cc: Michael Thayer <michael.thayer at oracle.com>
> > Cc: Colin Ian King <colin.king at canonical.com>
> > Cc: Daniel Vetter <daniel.vetter at intel.com>
> > Cc: Stephen Rothwell <sfr at canb.auug.org.au>
> > ---
> >  drivers/staging/vboxvideo/vbox_drv.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 
> Reviewed-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>

You'll pick this up or ack for stuffing into drm-misc (but only for 4.18)?
There's no other patches that need this (we still have some drivers using
the gem_free_object hook which won't be easy to convert to the _unlocked
variant), so doesn't matter which tree.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list