]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Mark up "sentinel" requests
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 12 Oct 2019 07:01:36 +0000 (08:01 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 12 Oct 2019 07:51:17 +0000 (08:51 +0100)
commitcb74d0e6b2c20381ac72bc5debc45f06007b565f
tree4ba96d41e392cb5ec6c4c17b19930bd10004677a
parentbb19a8b98b9adfe8e8568020c8b52849c3d18688
drm/i915: Mark up "sentinel" requests

Sometimes we want to emit a terminator request, a request that flushes
the pipeline and allows no request to come after it. This can be used
for a "preempt-to-idle" to ensure that upon processing the
context-switch to that request, all other active contexts have been
flushed.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191012070136.32058-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c
drivers/gpu/drm/i915/i915_request.h