]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/fifo/gk104: kick channel upon removal
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 1 Mar 2016 07:59:05 +0000 (16:59 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 14 Mar 2016 00:13:34 +0000 (10:13 +1000)
commitd548016cf63c070a66fafff27882a1a6710e2522
tree77faa5a874189fd8b5adbf45f01c7b83bfecff9c
parent55a82eed73c8c9d18ae780db3c1f0edffca72504
drm/nouveau/fifo/gk104: kick channel upon removal

A channel may still be processed by the PBDMA even after removal, unless
it is properly kicked. Some chips are more sensible to this than others,
with GM20B triggering the issue very easily (the PBDMA will try to fetch
methods from the previously-removed channel after a new one is added).

Make sure this cannot happen by kicking the channel right after it is
disabled, and before the new runlist is submitted.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.c