summaryrefslogtreecommitdiff
path: root/tests/gem_hang.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_hang.c')
-rw-r--r--tests/gem_hang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_hang.c b/tests/gem_hang.c
index d5eb5641..7a7c8acb 100644
--- a/tests/gem_hang.c
+++ b/tests/gem_hang.c
@@ -54,7 +54,7 @@ gpu_hang(void)
cmd = bad_pipe ? MI_WAIT_FOR_PIPEB_SCAN_LINE_WINDOW :
MI_WAIT_FOR_PIPEA_SCAN_LINE_WINDOW;
- BEGIN_BATCH(6);
+ BEGIN_BATCH(6, 0);
/* The documentation says that the LOAD_SCAN_LINES command
* always comes in pairs. Don't ask me why. */
OUT_BATCH(MI_LOAD_SCAN_LINES_INCL | (bad_pipe << 20));