]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/debugfs: Add node to dump guc log to dmesg
authorLucas De Marchi <lucas.demarchi@intel.com>
Fri, 31 Jan 2025 17:17:16 +0000 (09:17 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 12 Feb 2025 03:41:30 +0000 (19:41 -0800)
commit1d3ae92191fdff18f765936107d723401204cc12
treea9b9532b9737467c07170b23861bb907d4e68e6d
parent768fec5ff7c1d1183edb14ff7d68b07edc98a6e1
drm/xe/debugfs: Add node to dump guc log to dmesg

Currently xe_guc_log_print_dmesg() is unused, as it's expected
developers to add those calls when needed. However it makes it hard to
guarantee it's working as nothing is testing it. Add a node in debugfs
so it can be tested. This is purely for testing purposes since with the
device probed and working, the guc log can be obtained by the regular
debugfs file.

Reviewed-by: Alan Previn <alan.previn.teres.alexis@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250131171716.3998432-1-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_guc_debugfs.c