[PATCH v16 00/17] Enable OA unit for Gen 8 and 9 in i915 perf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Here is another update on this series. There has been some discussion
about handling the dynamic slice/subslice shutdown cases. In most
cases this isn't actually interesting. Indeed most 3D workloads will
want all of the slices/subslices turned on. In that case it's
unfortunate to have to reload NOA configurations that won't change. To
that extent, patch 15 has been rework not to make this the default
behavior, but to let userspace decide what it wants to do.

This also means we need to bring back the old getparam patches (1 &
2), which give you the maximum number of slices/subslices the device
can have turned on.

In the case we want to monitor the entire system, userspace will want
to monitor slice/subslices configurations (patch 16). The C structures
related to that userspace API has changed slightly. Some of the recent
Cannonlake patches made me think we probably wanted not to share a
common structure for setting sseu configurations.

Finally patches 15, 16 have some fixes related to locking & off-by-one
errors.

Cheers,

Chris Wilson (3):
  drm/i915: Record both min/max eu_per_subslice in sseu_dev_info
  drm/i915: Program RPCS for Broadwell
  drm/i915: Record the sseu configuration per-context & engine

Lionel Landwerlin (7):
  drm/i915/perf: rework mux configurations queries
  drm/i915: add KBL GT2/GT3 check macros
  drm/i915/perf: add KBL support
  drm/i915/perf: add GLK support
  drm/i915/perf: allow NOA muxes reprogramming before workloads
  drm/i915/perf: notify sseu configuration changes
  drm/i915/perf: follow coding style for block comments

Robert Bragg (7):
  drm/i915: expose _SLICE_MASK GETPARM
  drm/i915: expose _SUBSLICE_MASK GETPARM
  drm/i915/perf: Add 'render basic' Gen8+ OA unit configs
  drm/i915/perf: Add OA unit support for Gen 8+
  drm/i915/perf: Add more OA configs for BDW, CHV, SKL + BXT
  drm/i915/perf: per-gen timebase for checking sample freq
  drm/i915/perf: remove perf.hook_lock

 drivers/gpu/drm/i915/Makefile            |   11 +-
 drivers/gpu/drm/i915/i915_debugfs.c      |   36 +-
 drivers/gpu/drm/i915/i915_drv.c          |   10 +
 drivers/gpu/drm/i915/i915_drv.h          |  139 +-
 drivers/gpu/drm/i915/i915_gem_context.c  |    9 +
 drivers/gpu/drm/i915/i915_gem_context.h  |   42 +
 drivers/gpu/drm/i915/i915_oa_bdw.c       | 5376 ++++++++++++++++++++++++++++++
 drivers/gpu/drm/i915/i915_oa_bdw.h       |   40 +
 drivers/gpu/drm/i915/i915_oa_bxt.c       | 2690 +++++++++++++++
 drivers/gpu/drm/i915/i915_oa_bxt.h       |   40 +
 drivers/gpu/drm/i915/i915_oa_chv.c       | 2873 ++++++++++++++++
 drivers/gpu/drm/i915/i915_oa_chv.h       |   40 +
 drivers/gpu/drm/i915/i915_oa_glk.c       | 2602 +++++++++++++++
 drivers/gpu/drm/i915/i915_oa_glk.h       |   40 +
 drivers/gpu/drm/i915/i915_oa_hsw.c       |  263 +-
 drivers/gpu/drm/i915/i915_oa_hsw.h       |    4 +-
 drivers/gpu/drm/i915/i915_oa_kblgt2.c    | 2991 +++++++++++++++++
 drivers/gpu/drm/i915/i915_oa_kblgt2.h    |   40 +
 drivers/gpu/drm/i915/i915_oa_kblgt3.c    | 3040 +++++++++++++++++
 drivers/gpu/drm/i915/i915_oa_kblgt3.h    |   40 +
 drivers/gpu/drm/i915/i915_oa_sklgt2.c    | 3479 +++++++++++++++++++
 drivers/gpu/drm/i915/i915_oa_sklgt2.h    |   40 +
 drivers/gpu/drm/i915/i915_oa_sklgt3.c    | 3039 +++++++++++++++++
 drivers/gpu/drm/i915/i915_oa_sklgt3.h    |   40 +
 drivers/gpu/drm/i915/i915_oa_sklgt4.c    | 3093 +++++++++++++++++
 drivers/gpu/drm/i915/i915_oa_sklgt4.h    |   40 +
 drivers/gpu/drm/i915/i915_perf.c         | 1780 +++++++++-
 drivers/gpu/drm/i915/i915_reg.h          |   22 +
 drivers/gpu/drm/i915/intel_device_info.c |   32 +-
 drivers/gpu/drm/i915/intel_lrc.c         |   39 +-
 drivers/gpu/drm/i915/intel_lrc.h         |    2 +
 drivers/gpu/drm/i915/intel_ringbuffer.c  |    3 +
 include/uapi/drm/i915_drm.h              |   74 +-
 33 files changed, 31684 insertions(+), 325 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/i915_oa_bdw.c
 create mode 100644 drivers/gpu/drm/i915/i915_oa_bdw.h
 create mode 100644 drivers/gpu/drm/i915/i915_oa_bxt.c
 create mode 100644 drivers/gpu/drm/i915/i915_oa_bxt.h
 create mode 100644 drivers/gpu/drm/i915/i915_oa_chv.c
 create mode 100644 drivers/gpu/drm/i915/i915_oa_chv.h
 create mode 100644 drivers/gpu/drm/i915/i915_oa_glk.c
 create mode 100644 drivers/gpu/drm/i915/i915_oa_glk.h
 create mode 100644 drivers/gpu/drm/i915/i915_oa_kblgt2.c
 create mode 100644 drivers/gpu/drm/i915/i915_oa_kblgt2.h
 create mode 100644 drivers/gpu/drm/i915/i915_oa_kblgt3.c
 create mode 100644 drivers/gpu/drm/i915/i915_oa_kblgt3.h
 create mode 100644 drivers/gpu/drm/i915/i915_oa_sklgt2.c
 create mode 100644 drivers/gpu/drm/i915/i915_oa_sklgt2.h
 create mode 100644 drivers/gpu/drm/i915/i915_oa_sklgt3.c
 create mode 100644 drivers/gpu/drm/i915/i915_oa_sklgt3.h
 create mode 100644 drivers/gpu/drm/i915/i915_oa_sklgt4.c
 create mode 100644 drivers/gpu/drm/i915/i915_oa_sklgt4.h

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




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux