aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nouveau_drv.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-11-08 20:36:33 -0500
committerBen Skeggs <bskeggs@redhat.com>2011-12-21 04:01:33 -0500
commit2a44e4997c5fee8e1da1589ff57e0bd1c53f03ce (patch)
tree26fa7eb5269183d1fbc5314db7cad4f4a8abc720 /drivers/gpu/drm/nouveau/nouveau_drv.h
parentd2edab4acffb35a6e24259886d377774efd37e6e (diff)
drm/nouveau/disp: introduce proper init/fini, separate from create/destroy
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.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drv.h b/drivers/gpu/drm/nouveau/nouveau_drv.h
index dc88248f2305..a22ca4735943 100644
--- a/drivers/gpu/drm/nouveau/nouveau_drv.h
+++ b/drivers/gpu/drm/nouveau/nouveau_drv.h
@@ -396,8 +396,9 @@ struct nouveau_display_engine {
396 int (*early_init)(struct drm_device *); 396 int (*early_init)(struct drm_device *);
397 void (*late_takedown)(struct drm_device *); 397 void (*late_takedown)(struct drm_device *);
398 int (*create)(struct drm_device *); 398 int (*create)(struct drm_device *);
399 int (*init)(struct drm_device *);
400 void (*destroy)(struct drm_device *); 399 void (*destroy)(struct drm_device *);
400 int (*init)(struct drm_device *);
401 void (*fini)(struct drm_device *);
401 402
402 struct drm_property *dithering_mode; 403 struct drm_property *dithering_mode;
403 struct drm_property *dithering_depth; 404 struct drm_property *dithering_depth;
@@ -1343,13 +1344,15 @@ extern int nv17_tv_create(struct drm_connector *, struct dcb_entry *);
1343extern int nv04_display_early_init(struct drm_device *); 1344extern int nv04_display_early_init(struct drm_device *);
1344extern void nv04_display_late_takedown(struct drm_device *); 1345extern void nv04_display_late_takedown(struct drm_device *);
1345extern int nv04_display_create(struct drm_device *); 1346extern int nv04_display_create(struct drm_device *);
1346extern int nv04_display_init(struct drm_device *);
1347extern void nv04_display_destroy(struct drm_device *); 1347extern void nv04_display_destroy(struct drm_device *);
1348extern int nv04_display_init(struct drm_device *);
1349extern void nv04_display_fini(struct drm_device *);
1348 1350
1349/* nvd0_display.c */ 1351/* nvd0_display.c */
1350extern int nvd0_display_create(struct drm_device *); 1352extern int nvd0_display_create(struct drm_device *);
1351extern int nvd0_display_init(struct drm_device *);
1352extern void nvd0_display_destroy(struct drm_device *); 1353extern void nvd0_display_destroy(struct drm_device *);
1354extern int nvd0_display_init(struct drm_device *);
1355extern void nvd0_display_fini(struct drm_device *);
1353 1356
1354/* nv04_crtc.c */ 1357/* nv04_crtc.c */
1355extern int nv04_crtc_create(struct drm_device *, int index); 1358extern int nv04_crtc_create(struct drm_device *, int index);