mbox series

[0/4] Allow privileged user to map the OA buffer

Message ID 20200820180200.68355-1-umesh.nerlige.ramappa@intel.com (mailing list archive)
Headers show
Series Allow privileged user to map the OA buffer | expand

Message

Umesh Nerlige Ramappa Aug. 20, 2020, 6:01 p.m. UTC
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).

Tests: https://patchwork.freedesktop.org/series/80761/
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Test-with: 20200818203547.24461-1-umesh.nerlige.ramappa@intel.com

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

Umesh Nerlige Ramappa (3):
  drm/i915/perf: Whitelist OA report trigger registers
  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   | 153 +++++++++---
 drivers/gpu/drm/i915/gt/intel_workarounds.h   |   7 +
 .../gpu/drm/i915/gt/intel_workarounds_types.h |   5 +
 drivers/gpu/drm/i915/i915_perf.c              | 225 +++++++++++++++++-
 drivers/gpu/drm/i915/i915_perf_types.h        |   5 +
 drivers/gpu/drm/i915/i915_reg.h               |  10 +
 include/uapi/drm/i915_drm.h                   |  33 +++
 9 files changed, 402 insertions(+), 40 deletions(-)

Comments

Umesh Nerlige Ramappa Sept. 24, 2020, 4:29 p.m. UTC | #1
Hi Chris,

Okay to push this series?

Thanks,
Umesh

On Thu, Aug 20, 2020 at 11:01:56AM -0700, Umesh Nerlige Ramappa wrote:
>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).
>
>Tests: https://patchwork.freedesktop.org/series/80761/
>Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
>Test-with: 20200818203547.24461-1-umesh.nerlige.ramappa@intel.com
>
>Piotr Maciejewski (1):
>  drm/i915/perf: Ensure observation logic is not clock gated
>
>Umesh Nerlige Ramappa (3):
>  drm/i915/perf: Whitelist OA report trigger registers
>  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   | 153 +++++++++---
> drivers/gpu/drm/i915/gt/intel_workarounds.h   |   7 +
> .../gpu/drm/i915/gt/intel_workarounds_types.h |   5 +
> drivers/gpu/drm/i915/i915_perf.c              | 225 +++++++++++++++++-
> drivers/gpu/drm/i915/i915_perf_types.h        |   5 +
> drivers/gpu/drm/i915/i915_reg.h               |  10 +
> include/uapi/drm/i915_drm.h                   |  33 +++
> 9 files changed, 402 insertions(+), 40 deletions(-)
>
>-- 
>2.20.1
>
>_______________________________________________
>Intel-gfx mailing list
>Intel-gfx@lists.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/intel-gfx