aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_drv.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-12-12 07:51:33 -0500
committerBen Skeggs <bskeggs@redhat.com>2012-03-13 03:05:29 -0400
commitd81c19e312a22bdcebef1370f3af30a146670787 (patch)
treeb381ce393b67177605825eb88278ba750b04abb5 /drivers/gpu/drm/nouveau/nouveau_drv.h
parentddfd2da48421e6b217e8b4fa7ec967e55555ce65 (diff)
drm/nv20: split PFB code out of nv10_fb.c
Most functions were quite different between NV10/NV20 already, and they're about to get even more so. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drv.h')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_drv.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h
index 36b50e555b92..576b0f67a8ba 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drv.h
+++ b/drivers/gpu/drm/nouveau/nouveau_drv.h
@@ -1154,6 +1154,16 @@ extern void nv10_fb_init_tile_region(struct drm_device *dev, int i,
1154extern void nv10_fb_set_tile_region(struct drm_device *dev, int i); 1154extern void nv10_fb_set_tile_region(struct drm_device *dev, int i);
1155extern void nv10_fb_free_tile_region(struct drm_device *dev, int i); 1155extern void nv10_fb_free_tile_region(struct drm_device *dev, int i);
1156 1156
1157/* nv20_fb.c */
1158extern int nv20_fb_vram_init(struct drm_device *dev);
1159extern int nv20_fb_init(struct drm_device *);
1160extern void nv20_fb_takedown(struct drm_device *);
1161extern void nv20_fb_init_tile_region(struct drm_device *dev, int i,
1162 uint32_t addr, uint32_t size,
1163 uint32_t pitch, uint32_t flags);
1164extern void nv20_fb_set_tile_region(struct drm_device *dev, int i);
1165extern void nv20_fb_free_tile_region(struct drm_device *dev, int i);
1166
1157/* nv30_fb.c */ 1167/* nv30_fb.c */
1158extern int nv30_fb_init(struct drm_device *); 1168extern int nv30_fb_init(struct drm_device *);
1159extern void nv30_fb_takedown(struct drm_device *); 1169extern void nv30_fb_takedown(struct drm_device *);