[Intel-gfx] [PATCH 0/6] Re-org uC debugfs files and move them under GT

Daniele Ceraolo Spurio daniele.ceraolospurio at intel.com
Fri Feb 28 02:28:37 UTC 2020


Move printing functions to their respective feature files, squash the 2
guc status debugfs files (load_status and info) and move them under the
gt/ folder. A fix for keeping the log error around, to be dumped in
debugfs after a wedge, is also included at the end.

Cc: Andi Shyti <andi.shyti at intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko at intel.com>
Cc: John Harrison <John.C.Harrison at Intel.com>
Cc: Matthew Brost <matthew.brost at intel.com>

Daniele Ceraolo Spurio (6):
  drm/i915/guc: drop stage_pool debugfs
  drm/i915/uc: mark structure passed to checker functions as const
  drm/i915/huc: make "support huc" reflect HW capabilities
  drm/i915/debugfs: move uC printers and update debugfs file names
  drm/i915/uc: Move uC debugfs to its own folder under GT
  drm/i915/uc: do not free err log on uc_fini

 drivers/gpu/drm/i915/Makefile                 |   7 +-
 drivers/gpu/drm/i915/gt/debugfs_gt.c          |   3 +
 drivers/gpu/drm/i915/gt/intel_gt.c            |   3 +-
 drivers/gpu/drm/i915/gt/intel_gt.h            |   6 +-
 drivers/gpu/drm/i915/gt/uc/debugfs_guc.c      |  42 +++
 drivers/gpu/drm/i915/gt/uc/debugfs_guc.h      |  14 +
 drivers/gpu/drm/i915/gt/uc/debugfs_guc_log.c  | 123 ++++++++
 drivers/gpu/drm/i915/gt/uc/debugfs_guc_log.h  |  14 +
 drivers/gpu/drm/i915/gt/uc/debugfs_huc.c      |  36 +++
 drivers/gpu/drm/i915/gt/uc/debugfs_huc.h      |  14 +
 drivers/gpu/drm/i915/gt/uc/debugfs_uc.c       |  31 ++
 drivers/gpu/drm/i915/gt/uc/debugfs_uc.h       |  43 +++
 drivers/gpu/drm/i915/gt/uc/intel_guc.c        |  46 ++-
 drivers/gpu/drm/i915/gt/uc/intel_guc.h        |  17 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_ct.h     |   2 +-
 drivers/gpu/drm/i915/gt/uc/intel_guc_fw.c     |  14 -
 drivers/gpu/drm/i915/gt/uc/intel_guc_fw.h     |   1 -
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c    |  97 +++++-
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.h    |   4 +
 .../gpu/drm/i915/gt/uc/intel_guc_submission.h |   6 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc.c        |  31 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc.h        |  10 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc_fw.c     |  17 --
 drivers/gpu/drm/i915/gt/uc/intel_huc_fw.h     |   1 -
 drivers/gpu/drm/i915/gt/uc/intel_uc.c         |   9 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc.h         |   3 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c      |  25 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h      |  21 +-
 drivers/gpu/drm/i915/i915_debugfs.c           | 289 ------------------
 29 files changed, 559 insertions(+), 370 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/gt/uc/debugfs_guc.c
 create mode 100644 drivers/gpu/drm/i915/gt/uc/debugfs_guc.h
 create mode 100644 drivers/gpu/drm/i915/gt/uc/debugfs_guc_log.c
 create mode 100644 drivers/gpu/drm/i915/gt/uc/debugfs_guc_log.h
 create mode 100644 drivers/gpu/drm/i915/gt/uc/debugfs_huc.c
 create mode 100644 drivers/gpu/drm/i915/gt/uc/debugfs_huc.h
 create mode 100644 drivers/gpu/drm/i915/gt/uc/debugfs_uc.c
 create mode 100644 drivers/gpu/drm/i915/gt/uc/debugfs_uc.h

-- 
2.24.1



More information about the Intel-gfx mailing list