aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_gem.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-08-07 06:01:22 -0400
committerEric Anholt <eric@anholt.net>2010-08-09 14:24:32 -0400
commit6f392d548658a17600da7faaf8a5df25ee5f01f6 (patch)
treef71098d2faa94ca6525862a0ea50e831abcba75a /drivers/gpu/drm/i915/i915_gem.c
parent0108a3edd5c2e3b150a550d565b6aa1a67c0edbe (diff)
drm/i915: Use a common seqno for all rings.
This will be used by the eviction logic to maintain fairness between the rings. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.c')
-rw-r--r--drivers/gpu/drm/i915/i915_gem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index f150bfd2c851..45b998218d0c 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -4714,6 +4714,8 @@ i915_gem_init_ringbuffer(struct drm_device *dev)
4714 goto cleanup_render_ring; 4714 goto cleanup_render_ring;
4715 } 4715 }
4716 4716
4717 dev_priv->next_seqno = 1;
4718
4717 return 0; 4719 return 0;
4718 4720
4719cleanup_render_ring: 4721cleanup_render_ring: