summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2008-02-05 10:35:56 +0100
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2008-02-05 10:36:49 +0100
commit76748efae2f51409813eeb6b91b783c73cb2845e (patch)
treebfcb049319161c6429dbef1607646f50fccf77b0 /shared-core
parenta0781e762295ce3d5f6e839d437a0de505cefa3b (diff)
i915: Re-report breadcrumbs on poll to the fence manager,
since a breadcrumb may actually turn up before a corresponding fence object has been placed on the fence ring.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/i915_dma.c3
-rw-r--r--shared-core/i915_drv.h2
2 files changed, 0 insertions, 5 deletions
diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c
index a012f68e..608723f4 100644
--- a/shared-core/i915_dma.c
+++ b/shared-core/i915_dma.c
@@ -422,9 +422,6 @@ void i915_emit_breadcrumb(struct drm_device *dev)
RING_LOCALS;
if (++dev_priv->counter > BREADCRUMB_MASK) {
-#ifdef I915_HAVE_FENCE
- i915_invalidate_reported_sequence(dev);
-#endif
dev_priv->counter = 1;
DRM_DEBUG("Breadcrumb counter wrapped around\n");
}
diff --git a/shared-core/i915_drv.h b/shared-core/i915_drv.h
index 3f6c8066..87594670 100644
--- a/shared-core/i915_drv.h
+++ b/shared-core/i915_drv.h
@@ -136,8 +136,6 @@ typedef struct drm_i915_private {
uint32_t flush_flags;
uint32_t flush_pending;
uint32_t saved_flush_status;
- uint32_t reported_sequence;
- int reported_sequence_valid;
#endif
#ifdef I915_HAVE_BUFFER
void *agp_iomap;