Commit c769d098 authored by Daniel Vetter's avatar Daniel Vetter

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's avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent c3f2b6a3
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment