diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2016-07-09 02:41:01 +0200 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2016-07-14 03:53:25 +0200 |
commit | c73baa831fe5c035a41e52d75b763b3c942fa6d0 (patch) | |
tree | 70160b0fb2843bb94ecac101f79382bc424c4248 /drivers/gpu/drm/nouveau/include | |
parent | drm/nouveau: prevent oops if no mmu subdev present (diff) | |
download | linux-c73baa831fe5c035a41e52d75b763b3c942fa6d0.tar.xz linux-c73baa831fe5c035a41e52d75b763b3c942fa6d0.zip |
drm/nouveau/fb/gf100-: allow selection of an alternate big page size
GFxxx/GM1xx support the selection of 64/128KiB big pages globally.
GM2xx supports the same, as well as another mode where the page size
can be selected per-instance.
We default to 128KiB pages (With per-instance for GM200, but the current
code selects 128KiB there already) as the MMU code isn't currently able
to handle otherwise.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include')
-rw-r--r-- | drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h b/drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h index 0a734fd06acf..c2c002d18f55 100644 --- a/drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h +++ b/drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h @@ -56,6 +56,8 @@ struct nvkm_fb { int regions; } tile; + u8 page; + struct nvkm_memory *mmu_rd; struct nvkm_memory *mmu_wr; }; |