diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-10-28 23:43:30 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-10-29 11:15:54 +0100 |
commit | 872d860c85e30cdc97e7c91723257f4fcf04d5e9 (patch) | |
tree | 8965019eb5b37db12a0d205731ff53a52998163c /drivers/gpu/drm/i915/i915_gem.c | |
parent | a00b10c360b35d6431a94cbf130a4e162870d661 (diff) | |
download | blackbird-op-linux-872d860c85e30cdc97e7c91723257f4fcf04d5e9.tar.gz blackbird-op-linux-872d860c85e30cdc97e7c91723257f4fcf04d5e9.zip |
drm/i915: Remove the duplicate domain-change tracepoint for GPU flush
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index 07ad1e354084..936ddd83f8a2 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c @@ -2847,22 +2847,16 @@ i915_gem_object_flush_gpu_write_domain(struct drm_gem_object *obj, bool pipelined) { struct drm_device *dev = obj->dev; - uint32_t old_write_domain; if ((obj->write_domain & I915_GEM_GPU_DOMAINS) == 0) return 0; /* Queue the GPU write cache flushing we need. */ - old_write_domain = obj->write_domain; i915_gem_flush_ring(dev, NULL, to_intel_bo(obj)->ring, 0, obj->write_domain); BUG_ON(obj->write_domain); - trace_i915_gem_object_change_domain(obj, - obj->read_domains, - old_write_domain); - if (pipelined) return 0; |