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

Daniele Ceraolo Spurio daniele.ceraolospurio at intel.com
Thu Mar 12 01:16:25 UTC 2020


Rebased on top of Andi's patch. Note that some discussion is still
ongoing on that patch.

Also dropped the patch that caused a const->non-const conversion and
fixed a couple of bugs:
- keep printing HUC_STATUS register
- correcly set permissions for writable debugfs files

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> 

Andi Shyti (1):
  drm/i915/gt: allow setting generic data pointer

Daniele Ceraolo Spurio (5):
  drm/i915/guc: drop stage_pool debugfs
  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_engines.c    |   2 +-
 drivers/gpu/drm/i915/gt/debugfs_gt.c         |  15 +-
 drivers/gpu/drm/i915/gt/debugfs_gt.h         |   9 +-
 drivers/gpu/drm/i915/gt/debugfs_gt_pm.c      |  14 +-
 drivers/gpu/drm/i915/gt/intel_gt.c           |   3 +-
 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 | 124 ++++++++
 drivers/gpu/drm/i915/gt/uc/debugfs_guc_log.h |  15 +
 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      |  14 +
 drivers/gpu/drm/i915/gt/uc/intel_guc.c       |  46 ++-
 drivers/gpu/drm/i915/gt/uc/intel_guc.h       |   7 +
 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 +
 drivers/gpu/drm/i915/gt/uc/intel_huc.c       |  31 +-
 drivers/gpu/drm/i915/gt/uc/intel_huc.h       |   2 +
 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        |   1 +
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c     |  25 +-
 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.h     |   3 +-
 drivers/gpu/drm/i915/i915_debugfs.c          | 289 -------------------
 29 files changed, 526 insertions(+), 361 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