diff options
author | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2008-01-30 22:06:02 +0100 |
---|---|---|
committer | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2008-01-30 22:06:02 +0100 |
commit | f1edb7ad91d8b92057ffa02eb162e3740d05a147 (patch) | |
tree | 9d852b6ceab256a96f9589a4b69d92f18d660abf /shared-core/via_map.c | |
parent | 9a7e45858d8faa7afbe31b130d2de1be781085da (diff) |
Simplify the fencing code and differentiate between flushes and
waiting types.
Add a "command_stream_barrier" method to the bo driver.
Diffstat (limited to 'shared-core/via_map.c')
-rw-r--r-- | shared-core/via_map.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/shared-core/via_map.c b/shared-core/via_map.c index 11bfa551..54934367 100644 --- a/shared-core/via_map.c +++ b/shared-core/via_map.c @@ -69,9 +69,6 @@ static int via_do_init_map(struct drm_device * dev, drm_via_init_t * init) dev_priv->emit_0_sequence = 0; dev_priv->have_idlelock = 0; spin_lock_init(&dev_priv->fence_lock); - init_timer(&dev_priv->fence_timer); - dev_priv->fence_timer.function = &via_fence_timer; - dev_priv->fence_timer.data = (unsigned long) dev; #endif /* VIA_HAVE_FENCE */ dev->dev_private = (void *)dev_priv; #ifdef VIA_HAVE_BUFFER |