drm/i915: Consolidate reporting of "missed breadcrumbs"
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 28 Feb 2017 08:50:18 +0000 (08:50 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 28 Feb 2017 10:09:06 +0000 (10:09 +0000)
commit80166e406e4b88e49b5091cec1ac6b03b6f372ed
treeabc14dff109096b489fab947c5cb296d2e16208b
parentebeac38025ff36b76b0f6fa0aeb52729e96bb6bc
drm/i915: Consolidate reporting of "missed breadcrumbs"

Move the setting of gpu_error->missed_irq_ring bit to a common function
so that we can get the debug logging for either path.

v2: Add %pF caller

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170228085018.3225-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_breadcrumbs.c