summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/core/subdev/fb/priv.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2013-10-21 12:04:43 +1000
committerBen Skeggs <bskeggs@redhat.com>2013-11-08 15:39:52 +1000
commit75faef78c9a04270e388ad708a7692b5db6ed547 (patch)
tree893558480c79b74950690cf273d5e35b77761121 /drivers/gpu/drm/nouveau/core/subdev/fb/priv.h
parent20cdeaf938705b79e0fc7aef2f0e05d1eda15e5d (diff)
drm/nv50-nvaf/fb: split fbram oclass in preparation for reclocking
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/subdev/fb/priv.h')
-rw-r--r--drivers/gpu/drm/nouveau/core/subdev/fb/priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/core/subdev/fb/priv.h b/drivers/gpu/drm/nouveau/core/subdev/fb/priv.h
index abd391e8051b..eaf379567a63 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/fb/priv.h
+++ b/drivers/gpu/drm/nouveau/core/subdev/fb/priv.h
@@ -12,6 +12,8 @@
#define nouveau_ram_fini(p,s) \
nouveau_object_fini(&(p)->base, (s))
+#define nouveau_ram_create_(p,e,o,s,d) \
+ nouveau_object_create_((p), (e), (o), 0, (s), (void **)d)
#define _nouveau_ram_dtor nouveau_object_destroy
#define _nouveau_ram_init nouveau_object_init
#define _nouveau_ram_fini nouveau_object_fini