kms_flip: Try to make hang_gpu() robust against hanging the GPU
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 21 Feb 2014 09:38:43 +0000 (09:38 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 21 Feb 2014 11:39:45 +0000 (11:39 +0000)
commit3db29744f74017a99d1b430b30623dce405ebb1a
tree0bcf9bbaae096ba454dce00af24442cd8381f834
parent005d1dcc9882ab4e8a8b91b5c71da5a36b1491e6
kms_flip: Try to make hang_gpu() robust against hanging the GPU

On a bad day, hanging the GPU may be terminal. Yet even if the GPU is
terminally wedged we expect modesetting (and pageflips) to continue.
That deserves to be a dedicated test, but in the meantime we should
strive to avoid falling over just because the code is not resilient.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
tests/kms_flip.c