summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_mm.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-06-24 10:23:20 +1000
committerBen Skeggs <bskeggs@redhat.com>2011-09-20 16:04:00 +1000
commita12036ba2c0a190c93e5238c5f32fdb8c023c068 (patch)
tree604f365447a806e07f31589a655b1c0a8494f669 /drivers/gpu/drm/nouveau/nouveau_mm.h
parent987eec10dd76624d0edacdc7ecc7e1a6fc877373 (diff)
drm/nouveau: allow a nouveau_mm to be created with holes
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_mm.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_mm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_mm.h b/drivers/gpu/drm/nouveau/nouveau_mm.h
index b8fe9088b9e..57a600c35c9 100644
--- a/drivers/gpu/drm/nouveau/nouveau_mm.h
+++ b/drivers/gpu/drm/nouveau/nouveau_mm.h
@@ -42,6 +42,7 @@ struct nouveau_mm {
struct mutex mutex;
u32 block_size;
+ int heap_nodes;
};
int nouveau_mm_init(struct nouveau_mm *, u32 offset, u32 length, u32 block);