tests/gem_hang: fix copy-paste problem
authorEugeni Dodonov <eugeni.dodonov@intel.com>
Fri, 11 Nov 2011 13:17:59 +0000 (11:17 -0200)
committerEugeni Dodonov <eugeni.dodonov@intel.com>
Fri, 11 Nov 2011 13:17:59 +0000 (11:17 -0200)
I suspect that we should do different things for different pipes..

Spotted by Thomas Jarosh on #intel-gfx freenode.

Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
tests/gem_hang.c

index 40d2bb0..f9db340 100644 (file)
@@ -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