]> 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)
commitd0bbf6cc6a47f8fbaa6750fb17d9f02f0834f350
treefde525854ecd5968e6fbdf34776a4f1f5d249420
parentf77786b03df601d2f1a72bdcd743336e3011e05b
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