summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-02-14 13:31:35 +0100
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2007-02-14 13:31:35 +0100
commit5c9a7b0f9499b94856916facd110059223d243dc (patch)
tree6b0596648ae9210d0fb2013a960e81b5d3d04ba5 /shared-core
parent04760563b88c8e94f3ae448710d1ab8b350c2e5f (diff)
Remove an intel-specific hack and replace it with a fence driver callback.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/i915_drv.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/shared-core/i915_drv.h b/shared-core/i915_drv.h
index ffc9d431..675fd168 100644
--- a/shared-core/i915_drv.h
+++ b/shared-core/i915_drv.h
@@ -178,10 +178,12 @@ extern void i915_mem_release(drm_device_t * dev,
extern void i915_fence_handler(drm_device_t *dev);
-extern int i915_fence_emit_sequence(drm_device_t *dev, uint32_t flags,
+extern int i915_fence_emit_sequence(drm_device_t *dev, uint32_t class,
+ uint32_t flags,
uint32_t *sequence,
uint32_t *native_type);
-extern void i915_poke_flush(drm_device_t *dev);
+extern void i915_poke_flush(drm_device_t *dev, uint32_t class);
+extern int i915_fence_has_irq(drm_device_t *dev, uint32_t class, uint32_t flags);
#endif
#ifdef I915_HAVE_BUFFER