aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-09-19 10:05:13 -0400
committerChris Wilson <chris@chris-wilson.co.uk>2010-09-21 06:19:59 -0400
commitc7f9f9a8b89bb4d53edc030f5b61ae11d6859721 (patch)
tree1cc879aa1b228a0fd5569f56776ad12f811cfd68 /drivers/gpu/drm/i915/i915_drv.h
parente070868ef2101ce548d4fbb25edfd301e59fb719 (diff)
drm/i915: Use ring->flush() instead of MI_FLUSH
Use the ring abstraction to hide the details of having choose the appropriate flushing method. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 4b6812015056..790ffec135df 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -1001,6 +1001,10 @@ void i915_gem_retire_requests(struct drm_device *dev);
1001void i915_gem_reset_flushing_list(struct drm_device *dev); 1001void i915_gem_reset_flushing_list(struct drm_device *dev);
1002void i915_gem_reset_inactive_gpu_domains(struct drm_device *dev); 1002void i915_gem_reset_inactive_gpu_domains(struct drm_device *dev);
1003void i915_gem_clflush_object(struct drm_gem_object *obj); 1003void i915_gem_clflush_object(struct drm_gem_object *obj);
1004void i915_gem_flush_ring(struct drm_device *dev,
1005 struct intel_ring_buffer *ring,
1006 uint32_t invalidate_domains,
1007 uint32_t flush_domains);
1004int i915_gem_object_set_domain(struct drm_gem_object *obj, 1008int i915_gem_object_set_domain(struct drm_gem_object *obj,
1005 uint32_t read_domains, 1009 uint32_t read_domains,
1006 uint32_t write_domain); 1010 uint32_t write_domain);