[PATCH 16/27] drm/vgem: Use lockless gem BO free callback

Daniel Vetter daniel at ffwll.ch
Tue May 31 13:29:42 UTC 2016


On Tue, May 31, 2016 at 09:20:07AM -0400, Sean Paul wrote:
> On Mon, May 30, 2016 at 1:53 PM, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> > No dev->struct_mutex anywhere to be seen.
> >
> > Cc: seanpaul at chromium.org
> > Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
> 
> Reviewed-by: Sean Paul <seanpaul at chromium.org>

Applied to drm-misc, thanks for the review.
-Daniel

> 
> > ---
> >  drivers/gpu/drm/vgem/vgem_drv.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/gpu/drm/vgem/vgem_drv.c b/drivers/gpu/drm/vgem/vgem_drv.c
> > index 341f9be3dde6..1b4cc8b27080 100644
> > --- a/drivers/gpu/drm/vgem/vgem_drv.c
> > +++ b/drivers/gpu/drm/vgem/vgem_drv.c
> > @@ -235,7 +235,7 @@ static const struct file_operations vgem_driver_fops = {
> >
> >  static struct drm_driver vgem_driver = {
> >         .driver_features                = DRIVER_GEM,
> > -       .gem_free_object                = vgem_gem_free_object,
> > +       .gem_free_object_unlocked       = vgem_gem_free_object,
> >         .gem_vm_ops                     = &vgem_gem_vm_ops,
> >         .ioctls                         = vgem_ioctls,
> >         .fops                           = &vgem_driver_fops,
> > --
> > 2.8.1
> >

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list