diff options
author | Dave Airlie <airlied@linux.ie> | 2007-10-30 17:51:59 +1000 |
---|---|---|
committer | Dave Airlie <airlied@optimus.(none)> | 2007-10-30 17:52:13 +1000 |
commit | 50dec29c800a6e980a01be38190e44a0ba7916b5 (patch) | |
tree | 5cf8c466b9497a9176b718452480ad4ecb4d4ec5 /shared-core | |
parent | ff5889f8316e0c16112f114c1c8f57645b8dc54f (diff) |
drm/i915: add driver cache flush entry point
Use clflush on Intel hardware to flush cached objects.
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/i915_drv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/i915_drv.h b/shared-core/i915_drv.h index 6716f28f..9f69d841 100644 --- a/shared-core/i915_drv.h +++ b/shared-core/i915_drv.h @@ -310,7 +310,7 @@ extern int i915_init_mem_type(struct drm_device *dev, uint32_t type, extern uint32_t i915_evict_mask(struct drm_buffer_object *bo); extern int i915_move(struct drm_buffer_object *bo, int evict, int no_wait, struct drm_bo_mem_reg *new_mem); - +void i915_flush_ttm(struct drm_ttm *ttm); #endif #define I915_READ(reg) DRM_READ32(dev_priv->mmio_map, (reg)) |