drm/i915: Report request restarts for both execlists/guc
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 25 Apr 2017 10:38:35 +0000 (11:38 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 25 Apr 2017 13:02:36 +0000 (14:02 +0100)
commit6b764a594fc4e9f1caa537728a5a8e2192e18fc6
tree364280ce06e334854f5ef912416e5b2f3dbb5c44
parent695eaa3b60a0a9a2baf41241e60b589efb6479ee
drm/i915: Report request restarts for both execlists/guc

As we now share the execlist_port[] tracking for both execlists/guc, we
can reset the inflight count on both and report which requests are being
restarted.

Suggested-by: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michel Thierry <michel.thierry@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170425103835.31871-1-chris@chris-wilson.co.uk
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
drivers/gpu/drm/i915/intel_lrc.c