Re: [Intel-gfx] [PATCH 4/6] drm/i915: switch ring->id to be a real id

2011-10-11 Thread Chris Wilson
On Tue, 11 Oct 2011 16:39:12 +0200, Daniel Vetter wrote: > ... and add a helpr function for the places where we want a flag. > > This way we can use ring->id to index into arrays. > > Signed-off-by: Daniel Vetter > --- > drivers/gpu/drm/i915/i915_debugfs.c|8 > drivers/gp

[Intel-gfx] [PATCH 4/6] drm/i915: switch ring->id to be a real id

2011-10-11 Thread Daniel Vetter
... and add a helpr function for the places where we want a flag. This way we can use ring->id to index into arrays. Signed-off-by: Daniel Vetter --- drivers/gpu/drm/i915/i915_debugfs.c|8 drivers/gpu/drm/i915/i915_gem_execbuffer.c |4 ++-- drivers/gpu/drm/i915/i915_irq