sna: Add a DBG aide to disable hardware execution

Graphics / X.Org / xf86-video-intel - Chris Wilson [chris-wilson.co.uk] - 22 April 2014 06:32 UTC

Submit a dummy batch so that we still build, submit batches and perform relocations, but do not actually invoke the GPU. This can be useful when looking at mysterious hardware hangs.

References: https://bugs.freedesktop.org/show_bug.cgi?id=77263

b12bc03 sna: Add a DBG aide to disable hardware execution
src/sna/kgem.c | 9 +++++++++
1 file changed, 9 insertions(+)

Upstream: cgit.freedesktop.org


  • Share