[Intel-gfx] [PATCH 0/5] drm/i915/perf: Improve handling of OA tail race

Robert Bragg robert at sixbynine.org
Tue Jan 24 01:25:43 UTC 2017


While I was updating the i915 perf patches for gen8+ I found I also needed to
add a workaround for a tail pointer race, like we see for gen7 too. I was
feeling guilty knowing there are a few limitations with the current workaround
for gen7 and so want to address those before reusing the WA for gen8+ too.

Robert Bragg (5):
  drm/i915/perf: fix gen7_append_oa_reports comment
  drm/i915/perf: avoid poll, read, EAGAIN busy loops
  drm/i915/perf: avoid read back of head register
  drm/i915/perf: no head/tail ref in gen7_oa_read
  drm/i915/perf: improve tail race workaround

 drivers/gpu/drm/i915/i915_drv.h  |  70 +++++++-
 drivers/gpu/drm/i915/i915_perf.c | 342 ++++++++++++++++++++++++---------------
 2 files changed, 281 insertions(+), 131 deletions(-)

-- 
2.11.0



More information about the Intel-gfx mailing list