diff options
| author | Brian Nguyen <brian3.nguyen@intel.com> | 2026-09-28 22:22:42 +0000 |
|---|---|---|
| committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2026-10-01 08:46:20 -0400 |
| commit | 965f624349945ad15c86f44c72fafa11ed962794 (patch) | |
| tree | 81592fe158e8239d90c1447e95df9d03c6db3be3 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 367130639b69bb122435cc5dbcaa38ccf52c2f7b (diff) | |
| download | linux-965f624349945ad15c86f44c72fafa11ed962794.tar.gz linux-965f624349945ad15c86f44c72fafa11ed962794.zip | |
drm/xe: Implement print vfunc for page fault info logging
Add a print vfunc to xe_pagefault_ops so different producer backends can
log specific relevant debug info while keeping the consumer layer free
of potential backend-specific formatting logic.
Consumer-specific error prints are handled by passing as input into
the vfunc.
v2:
- Decode producer specific fields for print message. (Matthew)
- Combine consumer and producer prints to one print call. (Sashiko)
v3:
- Change assert to WARN_ON_ONCE. (Matthew)
Suggested-by: Stuart Summers <stuart.summers@intel.com>
Signed-off-by: Brian Nguyen <brian3.nguyen@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260928222241.3815153-2-brian3.nguyen@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
