[PATCH 0/2] drm/i915: Fix perf related list corruptions

Janusz Krzysztofik janusz.krzysztofik at linux.intel.com
Thu Feb 2 23:25:48 UTC 2023


Users reported oopses on list corruptions when using i915 perf with a
number of concurrently running graphics applications.  Root cause
analysis revealed a race condition in processing barrier tasks lists by
multiple threads, leading to unexpected failures from barrier deletion
attempts, silently ignored when passing such unexpectedly non-idle
barriers for reuse as trackers of perf requests.  Fix those issues.

Janusz Krzysztofik (2):
  drm/i915/active: Serialize access to barrier tasks lists
  drm/i915/active: Fix misuse of non-idle barriers

 drivers/gpu/drm/i915/gt/intel_engine_cs.c          |  7 +++++++
 drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c   |  6 +++++-
 drivers/gpu/drm/i915/gt/intel_engine_pm.c          |  6 +++++-
 drivers/gpu/drm/i915/gt/intel_engine_types.h       |  1 +
 .../gpu/drm/i915/gt/selftest_engine_heartbeat.c    |  5 +++++
 drivers/gpu/drm/i915/i915_active.c                 | 14 ++++++++++++--
 6 files changed, 35 insertions(+), 4 deletions(-)

-- 
2.25.1



More information about the Intel-gfx-trybot mailing list