tests/drv_missed_irq_hand: Make it robuster

Just launching empty batches isn't enough load on my speedy g33
to force the kernel to enable interrupts an wait for them.

So use some real load. With that the test is now fully reliably on
my g33 amchine.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter 2014-03-11 15:45:22 +01:00
parent c3f2b6a339
commit c769d0988b

View File

@ -40,12 +40,12 @@ if test `cat i915_ring_test_irq` != 0x0000000f; then
exit 3
fi
(cd $oldpath; $SOURCE_DIR/gem_exec_big) > /dev/null
(cd $oldpath; $SOURCE_DIR/gem_exec_blt) > /dev/null
check_for_missed_irq
check_for_hang
(cd $oldpath; $SOURCE_DIR/gem_exec_big) > /dev/null
(cd $oldpath; $SOURCE_DIR/gem_exec_blt) > /dev/null
check_for_hang
@ -56,7 +56,7 @@ if test `cat i915_ring_test_irq` != 0x00000000; then
exit 3
fi
(cd $oldpath; $SOURCE_DIR/gem_exec_big) > /dev/null
(cd $oldpath; $SOURCE_DIR/gem_exec_blt) > /dev/null
check_for_hang