]> 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)
commit643724ffd1781f3bc611b49beec79f84c22c151f
tree541ce61dd2c2e22969f5c9e3216c0165777cc79f
parent1bf87a5046c9e6e308639ad69175d88a5ada9eb6
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