summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gem/i915_gem_userptr.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2020-01-17 11:32:59 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2020-01-17 16:09:42 +0000
commit94523024363b373584bfb0a8eed9ba194d41b4d5 (patch)
treeaa428571a0ae0df5210cd7af557c4b9ed3fee788 /drivers/gpu/drm/i915/gem/i915_gem_userptr.c
parent89c02493deb93852f4b361aaeae11b80ab8edda0 (diff)
drm/i915/gt: Report the currently active execlists request
Since commit 22b7a426bbe1 ("drm/i915/execlists: Preempt-to-busy"), we prune the engine->active.requests list prior to preemption, thus removing the trace of the currently executing request. If that request hangs rather than be preempted, we conclude that no active request was on the GPU. Fortunately, this only impacts our debugging, and not our means of hang detection or recovery. v2: Use from to check the current iterator before continuing, and report active as NULL if the current request is already completed. References: 22b7a426bbe1 ("drm/i915/execlists: Preempt-to-busy") Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com> Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200117113259.3023890-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/gem/i915_gem_userptr.c')
0 files changed, 0 insertions, 0 deletions