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)
commitb9f327f1afc7c061233adf585736857d20c6ac06
tree541ce61dd2c2e22969f5c9e3216c0165777cc79f
parentb448a266cc4a2a960a65108a4a36d36c17cd74b2
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