summaryrefslogtreecommitdiff
path: root/lib/intel_batchbuffer.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-09-08 17:15:24 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2019-09-09 11:51:17 +0100
commit0102dcf4e2e8b357b59173fe1ff78069148080c6 (patch)
tree61bced9be75741b1f43b864bf56bfc66a86763fe /lib/intel_batchbuffer.c
parent1380f3ae56689ae5b8512e564d04e187af9cb60a (diff)
tests/debugfs_test: Use O_NONBLOCK
Since we are just reading from each debugfs file, any that requires initial setup may not be fully setup or be left in a state that results in the file *expectedly* waiting. Use O_NONBLOCK to avoid waits on external events as we are just peeking for a trivial check that the files do not explode. Wrt to the observed failure on ivb, just running the test twice is enough for it to succeed. It is probably worth investigating exactly what state is missed on the first pass, but I doubt it has much relevance outside of this specific test. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'lib/intel_batchbuffer.c')
0 files changed, 0 insertions, 0 deletions