summaryrefslogtreecommitdiff
path: root/tests/syncobj_basic.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-08-07 13:36:36 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2017-08-08 15:23:31 +0200
commit27ff12f00c94a5363f581a4353f08bfde62c59c4 (patch)
treeb1c68d71f003e303892e574de73aeae44d1967ac /tests/syncobj_basic.c
parentb5959304ee825be990bbe4c212ea20f2e737ea7d (diff)
lib: Remove illegal instructions from hang injection
The idea behind using an illegal instruction was to hang the GPU must faster than simply using the recursive batch. However, we stopped doing so on gen8+ as the CS parser was much laxer and allowed the illegal command through but still interpreted the packet length (jumping over the recursive batch buffer start that followed). Sandybridge doesn't just hang the GPU when it encounters an illegal command on the BLT engine, it hangs the machine. That goes above and beyond testing our hangcheck + reset, so remove the deadly instructions. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/syncobj_basic.c')
0 files changed, 0 insertions, 0 deletions