[Intel-gfx] [PATCH v6 0/3] Add support for loadable OA configs

Lionel Landwerlin lionel.g.landwerlin at intel.com
Tue Jul 18 16:50:39 UTC 2017


Hi,

Here is a v6 of this series.

There are a bunch of fixes pointed out by Matthew in patch 3.

There was also a pretty big issue in v5 of patch 2, I dropped some
calls to function programming OACTXCONTROL on shutting down the perf
stream and that triggered failures in the oa-exponents IGT test. This
is now fixed and the tests are back to stable. OACTXCONTROL is now,
again, always reprogrammed on open/close of the stream.

Many thanks to Matthew for his time.

Cheers,

Lionel Landwerlin (3):
  drm/i915/perf: fix flex eu registers programming
  drm/i915/perf: prune OA configs
  drm/i915: Implement I915_PERF_ADD/REMOVE_CONFIG interface

 drivers/gpu/drm/i915/i915_drv.c       |    2 +
 drivers/gpu/drm/i915/i915_drv.h       |   92 +-
 drivers/gpu/drm/i915/i915_oa_bdw.c    | 5360 +--------------------------------
 drivers/gpu/drm/i915/i915_oa_bdw.h    |    8 +-
 drivers/gpu/drm/i915/i915_oa_bxt.c    | 2623 +---------------
 drivers/gpu/drm/i915/i915_oa_bxt.h    |    8 +-
 drivers/gpu/drm/i915/i915_oa_chv.c    | 2806 +----------------
 drivers/gpu/drm/i915/i915_oa_chv.h    |    8 +-
 drivers/gpu/drm/i915/i915_oa_glk.c    | 2535 +---------------
 drivers/gpu/drm/i915/i915_oa_glk.h    |    8 +-
 drivers/gpu/drm/i915/i915_oa_hsw.c    |  764 +----
 drivers/gpu/drm/i915/i915_oa_hsw.h    |    8 +-
 drivers/gpu/drm/i915/i915_oa_kblgt2.c | 2971 +-----------------
 drivers/gpu/drm/i915/i915_oa_kblgt2.h |    8 +-
 drivers/gpu/drm/i915/i915_oa_kblgt3.c | 3020 +------------------
 drivers/gpu/drm/i915/i915_oa_kblgt3.h |    8 +-
 drivers/gpu/drm/i915/i915_oa_sklgt2.c | 3458 +--------------------
 drivers/gpu/drm/i915/i915_oa_sklgt2.h |    8 +-
 drivers/gpu/drm/i915/i915_oa_sklgt3.c | 3019 +------------------
 drivers/gpu/drm/i915/i915_oa_sklgt3.h |    8 +-
 drivers/gpu/drm/i915/i915_oa_sklgt4.c | 3073 +------------------
 drivers/gpu/drm/i915/i915_oa_sklgt4.h |    8 +-
 drivers/gpu/drm/i915/i915_perf.c      |  735 +++--
 drivers/gpu/drm/i915/i915_reg.h       |    2 +
 include/uapi/drm/i915_drm.h           |   24 +
 25 files changed, 988 insertions(+), 29576 deletions(-)

--
2.13.2


More information about the Intel-gfx mailing list