drm/nouveau/fb/gp100-: disable address remapper
authorBen Skeggs <bskeggs@redhat.com>
Wed, 18 Jul 2018 06:10:58 +0000 (16:10 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 19 Jul 2018 04:36:51 +0000 (14:36 +1000)
commit2f958e8240be28acee26085ba1686b4321ba4306
tree92f8e2046065e472fecfcb2e73844054c6634789
parenteb493fbc150f4a28151ae1ee84f24395989f3600
drm/nouveau/fb/gp100-: disable address remapper

This was causing problems on a system with a large amount of RAM, where
display push buffers were being fetched incorrectly when placed in high
system memory addresses.

While this commit will resolve the issue on that particular system, the
issue will be avoided completely with another patch to more fully solve
problems with display and large amounts of system memory on Pascal.

It's still probably a good idea to disable this to prevent weird issues
in the future.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/fb/base.c
drivers/gpu/drm/nouveau/nvkm/subdev/fb/gp100.c
drivers/gpu/drm/nouveau/nvkm/subdev/fb/gp102.c
drivers/gpu/drm/nouveau/nvkm/subdev/fb/priv.h