From 9a33f62be1c478334572ea9384af60c37d1644a0 Mon Sep 17 00:00:00 2001 From: Thomas Hellstrom Date: Mon, 22 Jun 2009 23:07:26 +0200 Subject: drm: Strip old ttm. Signed-off-by: Thomas Hellstrom --- shared-core/via_map.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'shared-core/via_map.c') diff --git a/shared-core/via_map.c b/shared-core/via_map.c index 5dee6a70..be7ca96b 100644 --- a/shared-core/via_map.c +++ b/shared-core/via_map.c @@ -65,17 +65,7 @@ static int via_do_init_map(struct drm_device * dev, drm_via_init_t * init) #ifdef VIA_HAVE_DMABLIT via_init_dmablit( dev ); #endif -#ifdef VIA_HAVE_FENCE - dev_priv->emit_0_sequence = 0; - dev_priv->have_idlelock = 0; - spin_lock_init(&dev_priv->fence_lock); -#endif /* VIA_HAVE_FENCE */ dev->dev_private = (void *)dev_priv; -#ifdef VIA_HAVE_BUFFER - ret = drm_bo_driver_init(dev); - if (ret) - DRM_ERROR("Could not initialize buffer object driver.\n"); -#endif return ret; } -- cgit v1.2.3