summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/core/subdev/fb/priv.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2013-03-04 09:01:37 +0400
committerBen Skeggs <bskeggs@redhat.com>2013-11-08 09:40:19 +0400
commitaae95ca708140307813e49af6d0d4a7205509129 (patch)
tree20acced9f1a88e7be22f8f1c85c8bc610a2932b1 /drivers/gpu/drm/nouveau/core/subdev/fb/priv.h
parent26fdd78cce3f51a49e1f2d3ad27ee893a28d220e (diff)
downloadlinux-aae95ca708140307813e49af6d0d4a7205509129.tar.xz
drm/nouveau/fb: implement various bits of work towards memory reclocking
Not even remotely ready for the vast majority of the world. 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.h4
1 files changed, 4 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 eaf379567a63..493125214e88 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/fb/priv.h
+++ b/drivers/gpu/drm/nouveau/core/subdev/fb/priv.h
@@ -31,6 +31,10 @@ extern struct nouveau_oclass nv50_ram_oclass;
extern struct nouveau_oclass nva3_ram_oclass;
extern struct nouveau_oclass nvaa_ram_oclass;
extern struct nouveau_oclass nvc0_ram_oclass;
+extern struct nouveau_oclass nve0_ram_oclass;
+
+int nouveau_sddr3_calc(struct nouveau_ram *ram);
+int nouveau_gddr5_calc(struct nouveau_ram *ram);
#define nouveau_fb_create(p,e,c,d) \
nouveau_fb_create_((p), (e), (c), sizeof(**d), (void **)d)