]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Make request conflict tracking understand parallel submits
authorMatthew Brost <matthew.brost@intel.com>
Thu, 14 Oct 2021 17:20:02 +0000 (10:20 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Fri, 15 Oct 2021 17:45:50 +0000 (10:45 -0700)
commit071180e9c580818238a9f32542d0066ce4072682
treefde525854ecd5968e6fbdf34776a4f1f5d249420
parent5981a1f5915a4756374aac52456c8441b33ed008
drm/i915: Make request conflict tracking understand parallel submits

If an object in the excl or shared slot is a composite fence from a
parallel submit and the current request in the conflict tracking is from
the same parallel context there is no need to enforce ordering as the
ordering is already implicit. Make the request conflict tracking
understand this by comparing a parallel submit's parent context and
skipping conflict insertion if the values match.

v2:
 (John Harrison)
  - Reword commit message

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211014172005.27155-23-matthew.brost@intel.com
drivers/gpu/drm/i915/i915_request.c