All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH 0/7] Allow privileged user to map the OA buffer
@ 2020-11-13 18:03 Umesh Nerlige Ramappa
  2020-11-13 18:03 ` [Intel-gfx] [PATCH 1/7] drm/i915/perf: Ensure observation logic is not clock gated Umesh Nerlige Ramappa
                   ` (7 more replies)
  0 siblings, 8 replies; 11+ messages in thread
From: Umesh Nerlige Ramappa @ 2020-11-13 18:03 UTC (permalink / raw)
  To: intel-gfx; +Cc: Chris Wilson

Allow user to map the OA buffer and also trigger reports into it.

CI fixes:
v1: Fixes a memory corruption due to addition of OA whitelist on demand.
v2: Spinlock when applying whitelist
v3: Use uncore->lock. Do not check for wal->count when applying whitelist.
v4: Refresh and rerun with newly added test (forked access).
v5:
- Split patches into smaller units
- Grow the wal->list only for the engine that needs it.
- Bring back the wal->count check when applying whitelist during resume
v6: Fix checkpatch and sparse warnings
v7:
- Fix mem leak
- Grow wal->list only if wal->count is not aligned to WAL_LIST_CHUNK

Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Test-with: 20201002232634.51807-1-umesh.nerlige.ramappa@intel.com

Piotr Maciejewski (1):
  drm/i915/perf: Ensure observation logic is not clock gated

Umesh Nerlige Ramappa (6):
  drm/i915/gt: Lock intel_engine_apply_whitelist with uncore->lock
  drm/i915/gt: Add a reference to the engine in i915_wa_list
  drm/i915/perf: Whitelist OA report trigger registers
  drm/i915/gt: Refactor _wa_add to reuse wa_index and wa_list_grow
  drm/i915/perf: Whitelist OA counter and buffer registers
  drm/i915/perf: Map OA buffer to user space for gen12 performance query

 drivers/gpu/drm/i915/gem/i915_gem_mman.c      |   2 +-
 drivers/gpu/drm/i915/gem/i915_gem_mman.h      |   2 +
 drivers/gpu/drm/i915/gt/intel_workarounds.c   | 244 ++++++++++++++----
 drivers/gpu/drm/i915/gt/intel_workarounds.h   |   7 +
 .../gpu/drm/i915/gt/intel_workarounds_types.h |   6 +
 .../gpu/drm/i915/gt/selftest_workarounds.c    |   4 +-
 drivers/gpu/drm/i915/i915_perf.c              | 228 +++++++++++++++-
 drivers/gpu/drm/i915/i915_perf_types.h        |   8 +
 drivers/gpu/drm/i915/i915_reg.h               |  10 +
 include/uapi/drm/i915_drm.h                   |  33 +++
 10 files changed, 485 insertions(+), 59 deletions(-)

-- 
2.20.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-11-13 23:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-13 18:03 [Intel-gfx] [PATCH 0/7] Allow privileged user to map the OA buffer Umesh Nerlige Ramappa
2020-11-13 18:03 ` [Intel-gfx] [PATCH 1/7] drm/i915/perf: Ensure observation logic is not clock gated Umesh Nerlige Ramappa
2020-11-13 18:03 ` [Intel-gfx] [PATCH 2/7] drm/i915/gt: Lock intel_engine_apply_whitelist with uncore->lock Umesh Nerlige Ramappa
2020-11-13 18:03 ` [Intel-gfx] [PATCH 3/7] drm/i915/gt: Add a reference to the engine in i915_wa_list Umesh Nerlige Ramappa
2020-11-13 18:03 ` [Intel-gfx] [PATCH 4/7] drm/i915/perf: Whitelist OA report trigger registers Umesh Nerlige Ramappa
2020-11-13 22:12   ` Umesh Nerlige Ramappa
2020-11-13 22:18     ` Dixit, Ashutosh
2020-11-13 18:03 ` [Intel-gfx] [PATCH 5/7] drm/i915/gt: Refactor _wa_add to reuse wa_index and wa_list_grow Umesh Nerlige Ramappa
2020-11-13 18:03 ` [Intel-gfx] [PATCH 6/7] drm/i915/perf: Whitelist OA counter and buffer registers Umesh Nerlige Ramappa
2020-11-13 18:03 ` [Intel-gfx] [PATCH 7/7] drm/i915/perf: Map OA buffer to user space for gen12 performance query Umesh Nerlige Ramappa
2020-11-13 23:56 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for Allow privileged user to map the OA buffer Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.