]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/mmu/gp100-: enable mmu invalidate depth optimisation
authorBen Skeggs <bskeggs@redhat.com>
Wed, 10 Jun 2020 04:46:01 +0000 (14:46 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 24 Jul 2020 08:50:47 +0000 (18:50 +1000)
commit70a5b2ce8442303f4eff12f94a550d851bf1056e
tree541ce61dd2c2e22969f5c9e3216c0165777cc79f
parentc074563b4638beaaddc1dbfe005dc771ecc36cc1
drm/nouveau/mmu/gp100-: enable mmu invalidate depth optimisation

This causes us to invalidate MMU only at the level we made modifications -
ie: if we've only modified PTEs, there's no need to have MMU dump the PDs
it's fetched into L2.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmgp100.c
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmtu102.c