]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/gsc: Add debugfs to print GSC info
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Wed, 28 Aug 2024 21:51:57 +0000 (14:51 -0700)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Thu, 29 Aug 2024 17:32:20 +0000 (10:32 -0700)
commit5ee2d63ca1201ed23c6595cb2fc927222215bce3
tree4ce0aa78c5c9209a665b4071748403242729520e
parentf7c2ea682d8ba17bfd37abd1e734348e0cf46c99
drm/xe/gsc: Add debugfs to print GSC info

This is useful for debug, in case something goes wrong with the GSC. The
info includes the version information and the current value of the HECI1
status registers.

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: John Harrison <John.C.Harrison@Intel.com>
Cc: Alan Previn <alan.previn.teres.alexis@intel.com>
Reviewed-by: Julia Filipchuk <julia.filipchuk@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240828215158.2743994-5-daniele.ceraolospurio@intel.com
drivers/gpu/drm/xe/Makefile
drivers/gpu/drm/xe/regs/xe_gsc_regs.h
drivers/gpu/drm/xe/xe_gsc.c
drivers/gpu/drm/xe/xe_gsc.h
drivers/gpu/drm/xe/xe_gsc_debugfs.c [new file with mode: 0644]
drivers/gpu/drm/xe/xe_gsc_debugfs.h [new file with mode: 0644]
drivers/gpu/drm/xe/xe_uc_debugfs.c