]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Mark the addition of the initial-breadcrumb in the request
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 13 May 2020 16:59:32 +0000 (17:59 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 13 May 2020 20:09:54 +0000 (21:09 +0100)
commit8dd249b1b35bb7695553e0b78afcd2b160168c0e
tree65f921ac7305db9eeb5ac7c39a46062503297c59
parent5450c587a68d158ceca139e0f8633216a6cb9ea6
drm/i915: Mark the addition of the initial-breadcrumb in the request

The initial-breadcrumb is used to mark the end of the awaiting and the
beginning of the user payload. We verify that we do not start the user
payload before all signaler are completed, checking our semaphore setup
by looking for the initial breadcrumb being written too early. We also
want to ensure that we do not add semaphore waits after we have already
closed the semaphore section, an issue for later deferred waits.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200513165937.9508-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c
drivers/gpu/drm/i915/i915_request.c
drivers/gpu/drm/i915/i915_request.h