From 2f56e9617703466aaac79c8763974cea6b233933 Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Fri, 11 Nov 2011 11:17:59 -0200 Subject: [PATCH] tests/gem_hang: fix copy-paste problem I suspect that we should do different things for different pipes.. Spotted by Thomas Jarosh on #intel-gfx freenode. Signed-off-by: Eugeni Dodonov --- tests/gem_hang.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gem_hang.c b/tests/gem_hang.c index 40d2bb0b..f9db3400 100644 --- a/tests/gem_hang.c +++ b/tests/gem_hang.c @@ -52,7 +52,7 @@ gpu_hang(void) int cmd; cmd = bad_pipe ? MI_WAIT_FOR_PIPEB_SCAN_LINE_WINDOW : - MI_WAIT_FOR_PIPEB_SCAN_LINE_WINDOW; + MI_WAIT_FOR_PIPEA_SCAN_LINE_WINDOW; BEGIN_BATCH(6); /* The documentation says that the LOAD_SCAN_LINES command