mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-25 00:52:45 -04:00
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>
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include "priv.h"
|
||||
#include "ram.h"
|
||||
|
||||
#include <core/memory.h>
|
||||
#include <subdev/bios.h>
|
||||
#include <subdev/bios/M0203.h>
|
||||
#include <engine/gr.h>
|
||||
@@ -142,6 +143,9 @@ nvkm_fb_dtor(struct nvkm_subdev *subdev)
|
||||
struct nvkm_fb *fb = nvkm_fb(subdev);
|
||||
int i;
|
||||
|
||||
nvkm_memory_del(&fb->mmu_wr);
|
||||
nvkm_memory_del(&fb->mmu_rd);
|
||||
|
||||
for (i = 0; i < fb->tile.regions; i++)
|
||||
fb->func->tile.fini(fb, i, &fb->tile.region[i]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user