]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftest: Fix MOCS selftest for GuC submission
authorRahul Kumar Singh <rahul.kumar.singh@intel.com>
Tue, 27 Jul 2021 00:23:43 +0000 (17:23 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Wed, 28 Jul 2021 00:32:21 +0000 (17:32 -0700)
commit426c5734b0f650fa0a94fabf353665ec71232672
tree6fc9cc8f7384aea934996bebe52f526aa7cb5a99
parent688a15621ea6b4a662163dfbeb3d634e3d152ab4
drm/i915/selftest: Fix MOCS selftest for GuC submission

When GuC submission is enabled, the GuC controls engine resets. Rather
than explicitly triggering a reset, the driver must submit a hanging
context to GuC and wait for the reset to occur.

Signed-off-by: Rahul Kumar Singh <rahul.kumar.singh@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210727002348.97202-29-matthew.brost@intel.com
drivers/gpu/drm/i915/gt/selftest_mocs.c