drm/i915/selftests: Include arbitration points in preemption smoketest
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 1 Oct 2018 12:32:02 +0000 (13:32 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 1 Oct 2018 14:26:17 +0000 (15:26 +0100)
commit567a605705893afdffcedd35a0ba766f52604d94
tree42407f3ffd61a8df968f97f8998998e076632e1c
parent992d2098ef0bc1256016fec86e4082524e2f52cc
drm/i915/selftests: Include arbitration points in preemption smoketest

Include a batch full of a page of arbitration points in order to provide
a window for inject_preempt_context() in the preemption smoketests.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181001123204.23982-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/intel_lrc.c