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>
This commit is contained in:
Eugeni Dodonov 2011-11-11 11:17:59 -02:00
parent faf413d875
commit 2f56e96177

View 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