diff options
| author | Mallesh Koujalagi <mallesh.koujalagi@intel.com> | 2026-07-15 14:21:59 +0530 |
|---|---|---|
| committer | Riana Tauro <riana.tauro@intel.com> | 2026-07-16 10:15:25 +0530 |
| commit | 8cd24184c0f52f9f4e5a8eafa29ed0078ea33ddd (patch) | |
| tree | 26282cc7bc0d0e9670c90fc06e454b7e02bbe2c6 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 046045543e530605c441063535e7dca0075369a6 (diff) | |
drm/xe: Consolidate debugfs fault injection functions
The fault injection code was scattered: the GT reset
hook lived in xe_gt.h as an inline function with its own global
variable, the CSC hook had a separate global in xe_hw_error.c with
an extern declaration, and each was individually registered in
xe_debugfs.c. Adding a new error type meant editing many files and
copy-pasting the same boilerplate.
Debugfs interface (under /sys/kernel/debug/dri/0/):
- fail_gt_reset - GT reset failure
- inject_csc_hw_error - CSC firmware error
Signed-off-by: Mallesh Koujalagi <mallesh.koujalagi@intel.com>
Reviewed-by: Riana Tauro <riana.tauro@intel.com>
Link: https://patch.msgid.link/20260715085159.424040-2-mallesh.koujalagi@intel.com
Signed-off-by: Riana Tauro <riana.tauro@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
