[Intel-gfx] [PATCH v2 0/2] Fix for two GuC issues

John.C.Harrison
2022-11-02T19:19:45Z

From: John Harrison <John.C.Harrison@Intel.com>

Fix for a deadlock issue between the GuC busyness stats worker and GT
resets. Also fix kernel contexts not getting the correct scheduling
priority at start of day.

v2: Rename existing uses of _trylock rather than adding a _noretry
version. Also improve the comment a bit.

Signed-off-by: John Harrison <John.C.Harrison@Intel.com>

John Harrison (2):
drm/i915/guc: Properly initialise kernel contexts
drm/i915/guc: Don't deadlock busyness stats vs reset

drivers/gpu/drm/i915/gem/i915_gem_mman.c | 2 +-
drivers/gpu/drm/i915/gt/intel_reset.c | 18 ++++++++++++++++--
drivers/gpu/drm/i915/gt/intel_reset.h | 1 +
.../gpu/drm/i915/gt/uc/intel_guc_submission.c | 7 ++++++-
4 files changed, 24 insertions(+), 4 deletions(-)

--
2.37.3