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)
commitafc76f307e60c865c436e3828a7756e0c358fe0d
treefde525854ecd5968e6fbdf34776a4f1f5d249420
parent28c7023332ceb95c19d9f19914a63f88d15ab427
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