aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nv50_display.c
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2010-07-24 11:37:33 -0400
committerBen Skeggs <bskeggs@redhat.com>2010-07-25 21:43:36 -0400
commitc88c2e0631b03ffb1485f8790a5b659beb1ac0be (patch)
tree479b2e5ca1c1448121b01d8a31c2e308c00f486f /drivers/gpu/drm/nouveau/nv50_display.c
parentf1feda70b5dfdbe6a1069efffec099b430467331 (diff)
drm/nouveau: Move display init to a new nouveau_engine.
Signed-off-by: Francisco Jerez <currojerez@riseup.net> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv50_display.c')
-rw-r--r--drivers/gpu/drm/nouveau/nv50_display.c16
1 files changed, 13 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c
index fbd91c251ee9..13a448985637 100644
--- a/drivers/gpu/drm/nouveau/nv50_display.c
+++ b/drivers/gpu/drm/nouveau/nv50_display.c
@@ -178,6 +178,17 @@ nv50_evo_channel_new(struct drm_device *dev, struct nouveau_channel **pchan)
178} 178}
179 179
180int 180int
181nv50_display_early_init(struct drm_device *dev)
182{
183 return 0;
184}
185
186void
187nv50_display_late_takedown(struct drm_device *dev)
188{
189}
190
191int
181nv50_display_init(struct drm_device *dev) 192nv50_display_init(struct drm_device *dev)
182{ 193{
183 struct drm_nouveau_private *dev_priv = dev->dev_private; 194 struct drm_nouveau_private *dev_priv = dev->dev_private;
@@ -528,7 +539,8 @@ int nv50_display_create(struct drm_device *dev)
528 return 0; 539 return 0;
529} 540}
530 541
531int nv50_display_destroy(struct drm_device *dev) 542void
543nv50_display_destroy(struct drm_device *dev)
532{ 544{
533 struct drm_nouveau_private *dev_priv = dev->dev_private; 545 struct drm_nouveau_private *dev_priv = dev->dev_private;
534 546
@@ -538,8 +550,6 @@ int nv50_display_destroy(struct drm_device *dev)
538 550
539 nv50_display_disable(dev); 551 nv50_display_disable(dev);
540 nv50_evo_channel_del(&dev_priv->evo); 552 nv50_evo_channel_del(&dev_priv->evo);
541
542 return 0;
543} 553}
544 554
545static u16 555static u16