summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni.dodonov@intel.com>2011-11-11 11:17:59 -0200
committerEugeni Dodonov <eugeni.dodonov@intel.com>2011-11-11 11:17:59 -0200
commit2f56e9617703466aaac79c8763974cea6b233933 (patch)
treee2233b9c8f4e8ae4dcc08f0ba67f8df10c73a1fa /tests
parentfaf413d87556b9b76686ef9bf1e797e86e4b5129 (diff)
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 <eugeni.dodonov@intel.com>
Diffstat (limited to 'tests')
-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 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