summaryrefslogtreecommitdiff
path: root/shared-core/i915_drv.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2007-10-31 11:27:44 +1100
committerDave Airlie <airlied@redhat.com>2007-10-31 11:27:44 +1100
commit2489062a3319c72197914ee06b089ae581c5f0a8 (patch)
tree070b5a914d11d17ded36b31d6bb4472072bc2cb7 /shared-core/i915_drv.h
parentc106a7d8b9ddc1f6da3d462e3114af2ca72b3b46 (diff)
i915: add backwards compat chipset flushing code
Diffstat (limited to 'shared-core/i915_drv.h')
-rw-r--r--shared-core/i915_drv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/shared-core/i915_drv.h b/shared-core/i915_drv.h
index 9f69d841..6ff34eb7 100644
--- a/shared-core/i915_drv.h
+++ b/shared-core/i915_drv.h
@@ -313,6 +313,11 @@ extern int i915_move(struct drm_buffer_object *bo, int evict,
void i915_flush_ttm(struct drm_ttm *ttm);
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25)
+extern void intel_init_chipset_flush_compat(struct drm_device *dev);
+extern void intel_fini_chipset_flush_compat(struct drm_device *dev);
+#endif
+
#define I915_READ(reg) DRM_READ32(dev_priv->mmio_map, (reg))
#define I915_WRITE(reg,val) DRM_WRITE32(dev_priv->mmio_map, (reg), (val))
#define I915_READ16(reg) DRM_READ16(dev_priv->mmio_map, (reg))