diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-14 12:04:02 -0400 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-14 16:13:00 -0400 |
commit | 2b6efaa47615b29e572d7fc444565db62ca9bcf7 (patch) | |
tree | 931e31f35886c6ce8b0cfbebe1955c55b1fbdd7a /drivers/gpu/drm/i915/i915_gem.c | |
parent | 890f3359f7b84d7015104360d647ccac5f515542 (diff) |
drm/i915: Remove unused intel_ringbuffer->ring_flag
This can always be re-added should somebody find a use...
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 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index 02719df418e3..a83574df096e 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c | |||
@@ -1580,9 +1580,8 @@ i915_gem_process_flushing_list(struct drm_device *dev, | |||
1580 | gpu_write_list) { | 1580 | gpu_write_list) { |
1581 | struct drm_gem_object *obj = &obj_priv->base; | 1581 | struct drm_gem_object *obj = &obj_priv->base; |
1582 | 1582 | ||
1583 | if ((obj->write_domain & flush_domains) == | 1583 | if (obj->write_domain & flush_domains && |
1584 | obj->write_domain && | 1584 | obj_priv->ring == ring) { |
1585 | obj_priv->ring->ring_flag == ring->ring_flag) { | ||
1586 | uint32_t old_write_domain = obj->write_domain; | 1585 | uint32_t old_write_domain = obj->write_domain; |
1587 | 1586 | ||
1588 | obj->write_domain = 0; | 1587 | obj->write_domain = 0; |