Commit e12d6949 authored by Chris Wilson's avatar Chris Wilson

i915/gem_mmap_gtt: Check that the initial pagefault is non-blocking

Historically, the GTT pagefault invoked set-domain(GTT) to transparently
handle swapin. However, this implied that the GTT faults were
synchronous with GPU rendering, which was not the desired ABI, as
synchronisation is explicit via calls to GEM_WAIT or GEM_SET_DOMAIN. In
MMAP_GTT_VERSION, this accidental ABI is removed and so we test it is
gone and does not come back.

For completeness, we verify that the other mmap paths didn't block on
initial pagefaulting.
Signed-off-by: Chris Wilson's avatarChris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: 's avatarMatthew Auld <matthew.auld@intel.com>
parent 0f9c0612
Pipeline #25396 passed with stages
in 7 minutes and 54 seconds