diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-11-08 20:36:33 -0500 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-12-21 04:01:33 -0500 |
commit | 2a44e4997c5fee8e1da1589ff57e0bd1c53f03ce (patch) | |
tree | 26fa7eb5269183d1fbc5314db7cad4f4a8abc720 /drivers/gpu/drm/nouveau/nouveau_drv.h | |
parent | d2edab4acffb35a6e24259886d377774efd37e6e (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.h | 9 |
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 *); | |||
1343 | extern int nv04_display_early_init(struct drm_device *); | 1344 | extern int nv04_display_early_init(struct drm_device *); |
1344 | extern void nv04_display_late_takedown(struct drm_device *); | 1345 | extern void nv04_display_late_takedown(struct drm_device *); |
1345 | extern int nv04_display_create(struct drm_device *); | 1346 | extern int nv04_display_create(struct drm_device *); |
1346 | extern int nv04_display_init(struct drm_device *); | ||
1347 | extern void nv04_display_destroy(struct drm_device *); | 1347 | extern void nv04_display_destroy(struct drm_device *); |
1348 | extern int nv04_display_init(struct drm_device *); | ||
1349 | extern void nv04_display_fini(struct drm_device *); | ||
1348 | 1350 | ||
1349 | /* nvd0_display.c */ | 1351 | /* nvd0_display.c */ |
1350 | extern int nvd0_display_create(struct drm_device *); | 1352 | extern int nvd0_display_create(struct drm_device *); |
1351 | extern int nvd0_display_init(struct drm_device *); | ||
1352 | extern void nvd0_display_destroy(struct drm_device *); | 1353 | extern void nvd0_display_destroy(struct drm_device *); |
1354 | extern int nvd0_display_init(struct drm_device *); | ||
1355 | extern void nvd0_display_fini(struct drm_device *); | ||
1353 | 1356 | ||
1354 | /* nv04_crtc.c */ | 1357 | /* nv04_crtc.c */ |
1355 | extern int nv04_crtc_create(struct drm_device *, int index); | 1358 | extern int nv04_crtc_create(struct drm_device *, int index); |