aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_mm.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-06-23 20:23:20 -0400
committerBen Skeggs <bskeggs@redhat.com>2011-09-20 02:04:00 -0400
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 b8fe9088b9ed..57a600c35c95 100644
--- a/drivers/gpu/drm/nouveau/nouveau_mm.h
+++ b/drivers/gpu/drm/nouveau/nouveau_mm.h
@@ -42,6 +42,7 @@ struct nouveau_mm {
42 struct mutex mutex; 42 struct mutex mutex;
43 43
44 u32 block_size; 44 u32 block_size;
45 int heap_nodes;
45}; 46};
46 47
47int nouveau_mm_init(struct nouveau_mm *, u32 offset, u32 length, u32 block); 48int nouveau_mm_init(struct nouveau_mm *, u32 offset, u32 length, u32 block);