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

Chris Wilson chris at chris-wilson.co.uk
Tue Jun 10 15:46:59 CEST 2014


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 at chris-wilson.co.uk>
> > Cc: stable at 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



More information about the Intel-gfx mailing list