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

2011-10-18 Thread Chris Wilson
On Tue, 11 Oct 2011 19:29:27 +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. > > v2: Resurrect the missing beautification-space Chris Wilson noted. > I'm moving this space around because I'll

[Intel-gfx] [PATCH] 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. v2: Resurrect the missing beautification-space Chris Wilson noted. I'm moving this space around because I'll reuse ring_str in the next patch. Signed-off-by: Daniel Vetter --- d