On Fri, May 03, 2013 at 08:53:20AM -0700, Ben Widawsky wrote: > On Fri, May 03, 2013 at 04:29:08PM +0300, Mika Kuoppala wrote: > > Before module unload is called, gpu_idle() will switch > > to default context. This will increment ref count of base > > object as the default context is 'running' on module unload > > time. Unreference the drm object so that when context > > is freed, base object is freed as well. > > > > v2: added comment to explain the refcounts (Ben Widawsky) > > > > Signed-off-by: Mika Kuoppala <mika.kuoppala at intel.com> > > I left an r-b on the other patch. You should feel free to add it if you > actually do what I say. > > Reviewed-by: Ben Widawsky <ben at bwidawsk.net> Merged, thanks. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch