drm/nouveau/fifo/gk104-: trigger mmu fault before attempting engine recovery
authorBen Skeggs <bskeggs@redhat.com>
Wed, 18 Jan 2017 05:37:24 +0000 (15:37 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 17 Feb 2017 07:38:15 +0000 (17:38 +1000)
commit3ebef76a1d46cd7e45aee6ad3efff9683b3a0f07
tree37ada711f09322e53a934961e66e88a4de89e570
parent03f16f5f278af9ef477aa847fda4b09ed87dc382
drm/nouveau/fifo/gk104-: trigger mmu fault before attempting engine recovery

Greatly improves the chances of recovering the GPU from a CTXSW_TIMEOUT.

Tested with piglit's arb_shader_image_load_store-atomicity, which causes
GR to hang in such a way that recovery failed (CTXSW_TIMEOUT continually
re-triggers).

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.c