[Intel-gfx] [PATCH v2 0/5] drm/i915/guc: Update GuC relay logging debugfs

Alan Previn alan.previn.teres.alexis at intel.com
Tue Dec 6 09:20:55 UTC 2022


This series
  1. Fixes a bug introduced in GuC Error Capture that
     was sharing the memmap of the multi-region GuC
     logging buffer.
  1. Adds support for unaligned wc memcpy during the
     copying of logs to relay channel.
  2. Renames the debugfs file for controlling GuC relay
     logging to something more discernible.
  3. Introduces two debugfs files to allow intel_guc_logger
     to read the subbufer-count and subbuffer-size from the
     kernel so future changes to buffer sizing in kernel
     wont require updating intel_guc_logger codes.
  4. Moves the location of the relay-channel debugfs file
     to be under the "gt/uc/" path alongside other guc-
     id debugfs files.

Changes from prior revs:
   v1: - Removed a patch that isn't required anymore (the same
         functionality was merged as part of an unrelated series.
       - Removed some unneeded checks in debugfs codes (Ashutosh).
       - Changed one of the function names and debugsfs file names
         for more consistency (Ashutosh).

Alan Previn (5):
  drm/i915/guc: Fix GuC relay log debugfs failing open
  drm/i915/guc: Add unaligned wc memcpy for copying GuC Log
  drm/i915/guc: Provide debugfs for log relay sub-buf info
  drm/i915/guc: Rename GuC log relay debugfs descriptively
  drm/i915/guc: Move guc_log_relay_chan debugfs path to uc

 drivers/gpu/drm/i915/gt/uc/intel_guc.h        |  2 +
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c    | 25 ++++++---
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.h    |  2 +
 .../drm/i915/gt/uc/intel_guc_log_debugfs.c    | 56 +++++++++++++++----
 drivers/gpu/drm/i915/gt/uc/intel_uc_debugfs.c |  2 +
 5 files changed, 68 insertions(+), 19 deletions(-)


base-commit: 886c7f9510ce20f099d27d9e7d9de32402c9e5e6
-- 
2.34.1



More information about the Intel-gfx mailing list