drm/nouveau/bar/gf100: add config option to limit BAR2 to 16MiB
authorBen Skeggs <bskeggs@redhat.com>
Fri, 4 Aug 2017 00:44:34 +0000 (10:44 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 22 Aug 2017 08:04:33 +0000 (18:04 +1000)
commit485c2c91d403185c126dd18bfc98599be9db3acf
tree99bbcfbfe92f422347f0b787216f3c6e635ee520
parent2659b4ce284be569b06ea2c13e5d30517f8095ed
drm/nouveau/bar/gf100: add config option to limit BAR2 to 16MiB

Useful for testing, and for the userspace build where we can't kick
a framebuffer driver off the device.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c
drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.h