Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v11 0/4] drm/xe/pmu: PMU interface for Xe
@ 2024-12-20 20:59 Vinay Belgaumkar
  2024-12-20 20:59 ` [PATCH v11 1/4] drm/xe/pmu: Enable PMU interface Vinay Belgaumkar
                   ` (11 more replies)
  0 siblings, 12 replies; 17+ messages in thread
From: Vinay Belgaumkar @ 2024-12-20 20:59 UTC (permalink / raw)
  To: intel-xe; +Cc: Vinay Belgaumkar, Rui Zhang, Lucas De Marchi, Rodrigo Vivi

Port i915 PMU event capture capability to Xe driver. This
has been requested by users of tools like gputop and turbostat
where PMU events are used to monitor GT freq and C6 residencies.

v10: Fix a leaked ref in pmu_enable(Riana)
v11: Acquire runtime ref before pmu lock

Cc: Rui Zhang <rui.zhang@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>

Aravind Iddamsetty (1):
  drm/xe/pmu: Enable PMU interface

Vinay Belgaumkar (3):
  drm/xe: Add locks in gtidle code
  drm/xe/pmu: Add GT C6 events
  drm/xe/pmu: Add GT frequency events

 drivers/gpu/drm/xe/Makefile           |    2 +
 drivers/gpu/drm/xe/xe_device.c        |    3 +
 drivers/gpu/drm/xe/xe_device_types.h  |    4 +
 drivers/gpu/drm/xe/xe_gt.c            |    5 +
 drivers/gpu/drm/xe/xe_gt_idle.c       |   23 +-
 drivers/gpu/drm/xe/xe_gt_idle.h       |    1 +
 drivers/gpu/drm/xe/xe_gt_idle_types.h |    3 +
 drivers/gpu/drm/xe/xe_module.c        |    5 +
 drivers/gpu/drm/xe/xe_pmu.c           | 1094 +++++++++++++++++++++++++
 drivers/gpu/drm/xe/xe_pmu.h           |   30 +
 drivers/gpu/drm/xe/xe_pmu_types.h     |  147 ++++
 11 files changed, 1314 insertions(+), 3 deletions(-)
 create mode 100644 drivers/gpu/drm/xe/xe_pmu.c
 create mode 100644 drivers/gpu/drm/xe/xe_pmu.h
 create mode 100644 drivers/gpu/drm/xe/xe_pmu_types.h

-- 
2.38.1


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

end of thread, other threads:[~2025-01-03  8:01 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-20 20:59 [PATCH v11 0/4] drm/xe/pmu: PMU interface for Xe Vinay Belgaumkar
2024-12-20 20:59 ` [PATCH v11 1/4] drm/xe/pmu: Enable PMU interface Vinay Belgaumkar
2025-01-03  8:00   ` Riana Tauro
2024-12-20 20:59 ` [PATCH v11 2/4] drm/xe: Add locks in gtidle code Vinay Belgaumkar
2024-12-20 21:09   ` Matthew Brost
2024-12-20 21:15     ` Belgaumkar, Vinay
2024-12-20 22:09       ` Lucas De Marchi
2024-12-20 20:59 ` [PATCH v11 3/4] drm/xe/pmu: Add GT C6 events Vinay Belgaumkar
2024-12-20 20:59 ` [PATCH v11 4/4] drm/xe/pmu: Add GT frequency events Vinay Belgaumkar
2024-12-20 21:07 ` ✓ CI.Patch_applied: success for drm/xe/pmu: PMU interface for Xe (rev11) Patchwork
2024-12-20 21:07 ` ✗ CI.checkpatch: warning " Patchwork
2024-12-20 21:09 ` ✓ CI.KUnit: success " Patchwork
2024-12-20 21:27 ` ✓ CI.Build: " Patchwork
2024-12-20 21:29 ` ✓ CI.Hooks: " Patchwork
2024-12-20 21:31 ` ✓ CI.checksparse: " Patchwork
2024-12-20 22:03 ` ✓ Xe.CI.BAT: " Patchwork
2024-12-22  3:26 ` ✗ Xe.CI.Full: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox