[Intel-gfx] [PATCH i-g-t 0/8] extract cork and ring measure code

Chris Wilson chris at chris-wilson.co.uk
Thu Oct 12 23:12:04 UTC 2017


Quoting Daniele Ceraolo Spurio (2017-10-12 23:27:26)
> The "cork" bo used to stall execution and the interruptible execbuf
> used to measure the ring size are repeated almost identically in
> several files. Extracting those to common files helps simplifying
> the code and avoiding repetition.

If you are looking at this, there are two different types of cork
around. The vgem style where we use the implicit fence, and the sw-sync
style where we use an explicit fence. Both have slightly different
use-cases, one may be more convenient that the other depending on the
rest of the test setup.
-Chris


More information about the Intel-gfx mailing list