diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2023-09-19 06:21:06 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2023-10-31 15:08:09 +1000 |
commit | 743b7fc481f9e844c374bb51986f0d4db8a684a0 (patch) | |
tree | 5afcfb43f1819b57f3c84917b0b9207cebaa99e3 /drivers/gpu/drm | |
parent | 631808095a82e6b6f8410a95f8b12b8d0d38b161 (diff) | |
download | linux-stable-743b7fc481f9e844c374bb51986f0d4db8a684a0.tar.gz linux-stable-743b7fc481f9e844c374bb51986f0d4db8a684a0.tar.bz2 linux-stable-743b7fc481f9e844c374bb51986f0d4db8a684a0.zip |
drm/nouveau/mmu/tu102-: remove write to 0x100e68 during tlb invalidate
This was cargo-culted from traces of RM when the code was written, but
we probably shouldn't be touching NV_PFB regs while GSP-RM is running.
From traces, it looks like NVIDIA dropped this sometime between 510.54
and 515.48.07, so I guess we can too.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230918202149.4343-2-skeggsb@gmail.com
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmtu102.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmtu102.c b/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmtu102.c index 0095d58d4d9a..29c12e69540f 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmtu102.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmmtu102.c @@ -37,7 +37,6 @@ tu102_vmm_flush(struct nvkm_vmm *vmm, int depth) nvkm_wr32(device, 0xb830a0, vmm->pd->pt[0]->addr >> 8); nvkm_wr32(device, 0xb830a4, 0x00000000); - nvkm_wr32(device, 0x100e68, 0x00000000); nvkm_wr32(device, 0xb830b0, 0x80000000 | type); nvkm_msec(device, 2000, |