Files
linux/drivers/gpu/drm/xe/xe_pxp_debugfs.h
T
Daniele Ceraolo Spurio 385a8015b2 drm/xe/pxp: Add PXP debugfs support
This patch introduces 2 PXP debugfs entries:

- info: prints the current PXP status and key instance
- terminate: simulate a termination interrupt

The first one is useful for debug, while the second one can be used for
testing the termination flow.

v2: move the info prints inside the lock (John)

Signed-off-by: Daniele Ceraolo Spurio <[email protected]>
Cc: John Harrison <[email protected]>
Reviewed-by: John Harrison <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
2025-02-03 11:51:28 -08:00

14 lines
242 B
C

/* SPDX-License-Identifier: MIT */
/*
* Copyright © 2024 Intel Corporation
*/
#ifndef __XE_PXP_DEBUGFS_H__
#define __XE_PXP_DEBUGFS_H__
struct xe_pxp;
void xe_pxp_debugfs_register(struct xe_pxp *pxp);
#endif /* __XE_PXP_DEBUGFS_H__ */