OSDN Git Service

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)
commit064a1f35bf1956130c84a4280a7ac75136fa2789
tree6fc9cc8f7384aea934996bebe52f526aa7cb5a99
parent3a4bfa091c46e90f7d68d219c36a86471b170cb8
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