summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-11 15:45:22 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-11 15:45:22 +0100
commitc769d0988b7fae0e758046ba165c9c52c4f2816a (patch)
tree5d94a4f9bbb58e649d92022010f956696302e100
parentc3f2b6a339e002c2ea3c0462ebce2a374b54e093 (diff)
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>
-rwxr-xr-xtests/drv_missed_irq_hang6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/drv_missed_irq_hang b/tests/drv_missed_irq_hang
index fe1f75dd..484e1514 100755
--- a/tests/drv_missed_irq_hang
+++ b/tests/drv_missed_irq_hang
@@ -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