diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2017-08-04 03:44:34 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2017-08-22 11:04:33 +0300 |
commit | 485c2c91d403185c126dd18bfc98599be9db3acf (patch) | |
tree | 99bbcfbfe92f422347f0b787216f3c6e635ee520 /drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.h | |
parent | 2659b4ce284be569b06ea2c13e5d30517f8095ed (diff) | |
download | linux-485c2c91d403185c126dd18bfc98599be9db3acf.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.h b/drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.h index f7dea69640d8..20a5255362ba 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.h +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.h @@ -11,6 +11,7 @@ struct gf100_bar_vm { struct gf100_bar { struct nvkm_bar base; + bool bar2_halve; struct gf100_bar_vm bar[2]; }; |