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 <[email protected]>

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 <[email protected]>
[snip]
-- 
Ben Widawsky, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to