diff options
author | Thomas Hellstrom <thellstrom-at-vmware-dot-com> | 2009-06-22 23:07:26 +0200 |
---|---|---|
committer | Thomas Hellstrom <thellstrom-at-vmware-dot-com> | 2009-06-22 23:37:06 +0200 |
commit | 9a33f62be1c478334572ea9384af60c37d1644a0 (patch) | |
tree | 96a6f2c36cf6915c9b1a848d0b7979984990968d /shared-core/via_map.c | |
parent | 81644198aeced288d26e17fadd8e5eb19798352f (diff) |
drm: Strip old ttm.
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
Diffstat (limited to 'shared-core/via_map.c')
-rw-r--r-- | shared-core/via_map.c | 10 |
1 files changed, 0 insertions, 10 deletions
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; } |