diff options
author | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2007-02-15 12:10:33 +0100 |
---|---|---|
committer | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2007-02-15 12:11:38 +0100 |
commit | 7766378d97323de375687285f2e125008b79045d (patch) | |
tree | a844b7ccf0fb9e68956785863549e6dbfc5a15c3 /shared-core | |
parent | 7803977aa9c3ca6360e6c22e77415cf17151cb9e (diff) |
Initial support for fence object classes.
(Fence objects belonging to different command submission mechanisms).
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/i915_dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c index 9624fac4..98a3b7c8 100644 --- a/shared-core/i915_dma.c +++ b/shared-core/i915_dma.c @@ -443,7 +443,7 @@ static void i915_emit_breadcrumb(drm_device_t *dev) OUT_RING(0); ADVANCE_LP_RING(); #ifdef I915_HAVE_FENCE - drm_fence_flush_old(dev, dev_priv->counter); + drm_fence_flush_old(dev, 0, dev_priv->counter); #endif } @@ -590,7 +590,7 @@ static int i915_dispatch_flip(drm_device_t * dev) OUT_RING(0); ADVANCE_LP_RING(); #ifdef I915_HAVE_FENCE - drm_fence_flush_old(dev, dev_priv->counter); + drm_fence_flush_old(dev, 0, dev_priv->counter); #endif dev_priv->sarea_priv->pf_current_page = dev_priv->current_page; return 0; |