drm/i915/pxp: add pxp debugfs
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Fri, 24 Sep 2021 19:14:50 +0000 (12:14 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Mon, 4 Oct 2021 17:11:27 +0000 (13:11 -0400)
commit390cf1b28b11190121cb05d4cec1f86787b47668
tree8f68bb6f8a3b2e652e75752792a320825a6c172c
parent6eba56f64d5d5ea5f273557fe46e21799a60da99
drm/i915/pxp: add pxp debugfs

2 debugfs files, one to query the current status of the pxp session and one
to trigger an invalidation for testing.

v2: rename debugfs, fix date (Alan)

v12: rebased to latest drm-tip (rename of files/structs from
     debugfs_gt to intel_debugfs_gt caused compiler errors).

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by : Alan Previn <alan.previn.teres.alexis@intel.com>
Reviewed-by: Alan Previn <alan.previn.teres.alexis@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210924191452.1539378-16-alan.previn.teres.alexis@intel.com
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/gt/intel_gt_debugfs.c
drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.c [new file with mode: 0644]
drivers/gpu/drm/i915/pxp/intel_pxp_debugfs.h [new file with mode: 0644]