]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/fifo/tu102: Turing channel preemption fix
authorAlistair Popple <apopple@nvidia.com>
Fri, 30 Oct 2020 02:36:45 +0000 (13:36 +1100)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 29 Jan 2021 06:49:13 +0000 (16:49 +1000)
commitf3c72508839e2069eb9ffdd6dc9df31d7bc4e7a0
treecdf0bc8b545c808aa051d5e4affd5217e61b1312
parent2664ca394d662a6e8bafc6386039d2aec0c086ba
drm/nouveau/fifo/tu102: Turing channel preemption fix

Previous hardware allowed a MMU fault to be generated by software to
trigger a context switch for engine recovery. Turing has the capability
to preempt all work from a specific runlist processor and removed the
registers currently used for triggering MMU faults. Attempting to access
these non-existent registers results in further errors, so use the
runlist preemption register instead.

Signed-off-by: Alistair Popple <apopple@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.c