]> 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)
commitc3eb54aad982d05493ab374a6f0d0a6831dd2c6e
tree4ba96d41e392cb5ec6c4c17b19930bd10004677a
parentd8ad5f52617b8a74cb3a511d06e24115360761c6
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