drm/i915: Allow error capture of a pending request
authorJohn Harrison <John.C.Harrison@Intel.com>
Fri, 27 Jan 2023 00:28:39 +0000 (16:28 -0800)
committerJohn Harrison <John.C.Harrison@Intel.com>
Fri, 27 Jan 2023 21:01:22 +0000 (13:01 -0800)
commite7696d652102dd5ac2681d69da2004925d6a6b30
treeaaf7e2f115b7d56528eb8462a2b4d17067215001
parente8a3319c31a14aa9925418bc7813c2866903b2c6
drm/i915: Allow error capture of a pending request

A hang situation has been observed where the only requests on the
context were either completed or not yet started according to the
breaadcrumbs. However, the register state claimed a batch was (maybe)
in progress. So, allow capture of the pending request on the grounds
that this might be better than nothing.

v2: Reword 'not started' warning message (Tvrtko)

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230127002842.3169194-6-John.C.Harrison@Intel.com
drivers/gpu/drm/i915/i915_gpu_error.c