]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nv50: Improve PGRAPH interrupt handling.
authorMarcin Kościelnicki <koriakin@0x04.net>
Mon, 1 Mar 2010 00:18:39 +0000 (00:18 +0000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 10 Mar 2010 06:07:02 +0000 (16:07 +1000)
commit5bf7a27987543840f494460279e4a5963cfee0e2
tree43bc2c01d700eb8225380eaa0ba2cab637d6c3c1
parent13846cb9297dfa132a0f34a1bc68e83cbeff8db2
drm/nv50: Improve PGRAPH interrupt handling.

This makes nouveau recognise and report more kinds of PGRAPH errors, as
well as prevent GPU lockups resulting from some of them.

Lots of guesswork was involved and some part of this is probably
incorrect. Some potential-lockuop situations are handled by just
resetting a whole PGRAPH subunit, which doesn't sound like a "proper"
solution, but seems to work just fine... for now.

Signed-off-by: Marcin Kościelnicki <koriakin@0x04.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/Makefile
drivers/gpu/drm/nouveau/nouveau_drv.h
drivers/gpu/drm/nouveau/nouveau_irq.c
drivers/gpu/drm/nouveau/nouveau_state.c
drivers/gpu/drm/nouveau/nv50_fb.c [new file with mode: 0644]
drivers/gpu/drm/nouveau/nv50_graph.c
drivers/gpu/drm/nouveau/nv50_grctx.c