diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-03-18 08:26:38 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-03-21 10:57:43 +0000 |
commit | e12d69496a6bef09ac6c0f792b8d60a65cf5e0bf (patch) | |
tree | f57272875d089325e042167f3828e25533ff60af /lib/igt_gt.h | |
parent | 0f9c061247fb7aba21c9459f19f437927a28f32c (diff) |
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 <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Diffstat (limited to 'lib/igt_gt.h')
0 files changed, 0 insertions, 0 deletions