summaryrefslogtreecommitdiff
path: root/lib/intel_os.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2018-06-28 22:18:52 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2018-06-29 18:19:11 +0100
commit840d12e2f050b784552197403d6575a57b6e896d (patch)
treea5308d915650a4f8c10ac02935eb2dcc0e487f44 /lib/intel_os.c
parenta14bc8b4d69eaca189665de505e6b10cbfbb7730 (diff)
igt/gem_exec_gttfill: Avoid pwrite into busy handle
The goal of gem_exec_gttfill is to exercise execbuf under heavy GTT pressure (by trying to execute more objects than may fit into the GTT). We spread the same set of handles across different processes, with the result that each would occasionally stall waiting for execution of an unrelated batch, limiting the pressure we were applying. If we using a steaming write via a WC pointer, we can avoid the serialisation penalty and so submit faster. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'lib/intel_os.c')
0 files changed, 0 insertions, 0 deletions