drm/i95: Initialize active ring->pid to -1
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 10 Jun 2014 11:09:29 +0000 (12:09 +0100)
committerJani Nikula <jani.nikula@intel.com>
Wed, 11 Jun 2014 08:06:43 +0000 (11:06 +0300)
commiteee73b46261325eb140d899b5371f49b02d88f63
treee09025f081d921baee6857165752bc6d8cf0fdd5
parent2e7eeeb59a92d09144fdb7d2dc1af77a10a7945b
drm/i95: Initialize active ring->pid to -1

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
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_gpu_error.c