]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Disable engine barriers with GuC during unpin
authorMatthew Brost <matthew.brost@intel.com>
Wed, 21 Jul 2021 21:50:52 +0000 (14:50 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Thu, 22 Jul 2021 17:07:15 +0000 (10:07 -0700)
commit06794eadf1fb7375b199fa6a1e3aab10f86ef1c7
tree4b8701faadf1ed129fb14a3a8c95e3627d9c615f
parentcd8698b12a5f3060066ce4dea811e07a8a288bf8
drm/i915/guc: Disable engine barriers with GuC during unpin

Disable engine barriers for unpinning with GuC. This feature isn't
needed with the GuC as it disables context scheduling before unpinning
which guarantees the HW will not reference the context. Hence it is
not necessary to defer unpinning until a kernel context request
completes on each engine in the context engine mask.

Cc: John Harrison <john.c.harrison@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@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/20210721215101.139794-10-matthew.brost@intel.com
drivers/gpu/drm/i915/gt/intel_context.c
drivers/gpu/drm/i915/gt/selftest_context.c