summaryrefslogtreecommitdiff
path: root/tools/intel_vbt_decode.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-08-21 20:58:38 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2019-08-22 10:57:18 +0100
commit50390dd7adaccae21cafa85b866c17606cec94c3 (patch)
treec062b30b11605aa68a21f65d06ca030319b6d5b5 /tools/intel_vbt_decode.c
parent289dcb935ee195352f987c0ae7dd31693bf7de0f (diff)
prime_busy: Prebind the batch buffer
The test assumes that the dmabuf for the batch buffer has no exclusive fence. This is only true for the batch as it executes on the GPU; prior to that we may be in the process of moving it into memory and the ppGTT which cause the batch to carry an exclusive fence. Keep the test simple and prebind the batch buffer so that when we poll the dmabuf fd, we only expect it to be the spinning batch. Alternatively we could wait until we start writing values into scratch (i.e. igt_spin_busywait_until_started()). This seemed simpler. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Matthew Auld <matthew.auld@intel.com> Acked-by: Matthew Auld <matthew.auld@intel.com>
Diffstat (limited to 'tools/intel_vbt_decode.c')
0 files changed, 0 insertions, 0 deletions