[Intel-gfx] [PATCH i-g-t] tests/vgem_basic: Retry the initial module unload in unload test

Petri Latvala petri.latvala at intel.com
Tue Oct 18 12:57:52 UTC 2016


On Tue, Oct 18, 2016 at 01:48:52PM +0100, Chris Wilson wrote:
> vgem doesn't have the same delayed close as i915. For vgem, closing the
> fd (i.e. on process exit) will first signal all fences and drop
> references for that fd, so effectively all work will be completed. The
> external references to the vgem.ko's object (via dma-buf) will only
> exist if they were constructed by the test and if they were, e.g. i915,
> they too should be will be flushed by igt in its exithandlers.
> 
> Other drivers may have similar bridges to cross ofc.
> -Chris

Ok, excellent.


--
Petri Latvala


More information about the Intel-gfx mailing list