Re: [Intel-gfx] [PATCH] drm/i95: Initialize active ring->pid to -1

Chris Wilson
2014-06-10T13:46:59Z

On Tue, Jun 10, 2014 at 03:30:25PM +0200, Daniel Vetter wrote:
> On Tue, Jun 10, 2014 at 12:09:29PM +0100, Chris Wilson wrote:
> > Otherwise we print out spurious processes on unused rings in the error
> > state.
> >
> > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> > Cc: stable@vger.kernel.org
>
> Personally would have done that in the dumper code, not the recording code
> - this here looks a bit inconsistent. Either way this is

It gets used in multiple locations, in particular inside the capture
code itself, so it looked simpler to initialise it always.
-Chris

--
Chris Wilson, Intel Open Source Technology Centre