]> 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)
commit6afcefb36ef34e699df41f95309f2f55c949ca9a
tree4ba96d41e392cb5ec6c4c17b19930bd10004677a
parente7cc62826fcaeff65a641cc55012e90f79810416
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