[PATCH v4 0/2] drm/xe/mocs: Add debugfs node to dump mocs

Janga Rahul Kumar janga.rahul.kumar at intel.com
Tue Apr 30 17:04:25 UTC 2024


This is useful to check mocs configuration. Tests/Tools can use
this debugfs entry to get mocs info.

v2: Address review comments. Change debugfs output style similar
to pat debugfs. (Lucas De Marchi)

v3: rebase.

v4: Address review comments. Use function pointer inside ops
struct. Update Test-with links. Remove usage of flags wherever
not required. Create separate patch for moving function. (Lucas De Marchi)

Test-with: https://patchwork.freedesktop.org/patch/msgid/20240424200856.1194881-2-janga.rahul.kumar@intel.com
           https://patchwork.freedesktop.org/patch/msgid/20240424200856.1194881-3-janga.rahul.kumar@intel.com/

Cc: Matt Roper <matthew.d.roper at intel.com>
Cc: Lucas De Marchi <lucas.demarchi at intel.com>
Signed-off-by: Janga Rahul Kumar <janga.rahul.kumar at intel.com>


Janga Rahul Kumar (2):
  drm/xe: Relocate regs_are_mcr function
  drm/xe/mocs: Add debugfs node to dump mocs

 drivers/gpu/drm/xe/xe_gt_debugfs.c |  11 ++
 drivers/gpu/drm/xe/xe_mocs.c       | 278 +++++++++++++++++++++++++++--
 drivers/gpu/drm/xe/xe_mocs.h       |   8 +
 3 files changed, 287 insertions(+), 10 deletions(-)

-- 
2.25.1



More information about the Intel-xe mailing list