diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-12-12 07:51:33 -0500 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2012-03-13 03:05:29 -0400 |
commit | d81c19e312a22bdcebef1370f3af30a146670787 (patch) | |
tree | b381ce393b67177605825eb88278ba750b04abb5 /drivers/gpu/drm/nouveau/nouveau_drv.h | |
parent | ddfd2da48421e6b217e8b4fa7ec967e55555ce65 (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.h | 10 |
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, | |||
1154 | extern void nv10_fb_set_tile_region(struct drm_device *dev, int i); | 1154 | extern void nv10_fb_set_tile_region(struct drm_device *dev, int i); |
1155 | extern void nv10_fb_free_tile_region(struct drm_device *dev, int i); | 1155 | extern void nv10_fb_free_tile_region(struct drm_device *dev, int i); |
1156 | 1156 | ||
1157 | /* nv20_fb.c */ | ||
1158 | extern int nv20_fb_vram_init(struct drm_device *dev); | ||
1159 | extern int nv20_fb_init(struct drm_device *); | ||
1160 | extern void nv20_fb_takedown(struct drm_device *); | ||
1161 | extern 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); | ||
1164 | extern void nv20_fb_set_tile_region(struct drm_device *dev, int i); | ||
1165 | extern void nv20_fb_free_tile_region(struct drm_device *dev, int i); | ||
1166 | |||
1157 | /* nv30_fb.c */ | 1167 | /* nv30_fb.c */ |
1158 | extern int nv30_fb_init(struct drm_device *); | 1168 | extern int nv30_fb_init(struct drm_device *); |
1159 | extern void nv30_fb_takedown(struct drm_device *); | 1169 | extern void nv30_fb_takedown(struct drm_device *); |