diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2016-04-14 03:39:18 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2016-05-20 07:43:04 +0300 |
commit | 99c5917253a6c5584a7052f9ee578e2c6852253f (patch) | |
tree | 3a474ce77932a871f4d2ca52a195066571fe3116 /drivers/gpu/drm/nouveau/include/nvkm/subdev | |
parent | 917d95a86e7b7036d481323240443566be82a619 (diff) | |
download | linux-99c5917253a6c5584a7052f9ee578e2c6852253f.tar.xz |
drm/nouveau/fb/gf100-: allocate mmu debug buffers
Later chipsets require setting this up both in FB and GR, so let's just
move the allocation to FB.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/include/nvkm/subdev')
-rw-r--r-- | drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h | 3 |
1 files changed, 3 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 85ab72c7f821..bb9247d88190 100644 --- a/drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h +++ b/drivers/gpu/drm/nouveau/include/nvkm/subdev/fb.h @@ -55,6 +55,9 @@ struct nvkm_fb { struct nvkm_fb_tile region[16]; int regions; } tile; + + struct nvkm_memory *mmu_rd; + struct nvkm_memory *mmu_wr; }; bool nvkm_fb_memtype_valid(struct nvkm_fb *, u32 memtype); |