aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-10-23 14:31:06 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2019-10-23 23:52:10 +0100
commitd12acee84ffb07c2eb11bbb676908b3827b42598 (patch)
treecaec64801a6512760378eed90070c97c849369c4 /tools/perf/scripts/python/bin
parentdrm/i915/execlists: Force preemption (diff)
downloadlinux-d12acee84ffb07c2eb11bbb676908b3827b42598.tar.gz
linux-d12acee84ffb07c2eb11bbb676908b3827b42598.zip
drm/i915/execlists: Cancel banned contexts on schedule-out
On schedule-out (CS completion) of a banned context, scrub the context image so that we do not replay the active payload. The intent is that we skip banned payloads on request submission so that the timeline advancement continues on in the background. However, if we are returning to a preempted request, i915_request_skip() is ineffective and instead we need to patch up the context image so that it continues from the start of the next request. v2: Fixup cancellation so that we only scrub the payload of the active request and do not short-circuit the breadcrumbs (which might cause other contexts to execute out of order). v3: Grammar pass 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: https://patchwork.freedesktop.org/patch/msgid/20191023133108.21401-3-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions