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

2012-01-29 Thread Daniel Vetter
On Wed, Dec 14, 2011 at 04:42:23PM -0200, Eugeni Dodonov wrote: > On Wed, Dec 14, 2011 at 10:57, 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

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

2011-12-14 Thread Eugeni Dodonov
On Wed, Dec 14, 2011 at 10:57, 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 reuse r

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

2011-12-14 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 Review