mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
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
22 lines
430 B
C
22 lines
430 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2021 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_PXP_DEBUGFS_H__
|
|
#define __INTEL_PXP_DEBUGFS_H__
|
|
|
|
struct intel_pxp;
|
|
struct dentry;
|
|
|
|
#ifdef CONFIG_DRM_I915_PXP
|
|
void intel_pxp_debugfs_register(struct intel_pxp *pxp, struct dentry *root);
|
|
#else
|
|
static inline void
|
|
intel_pxp_debugfs_register(struct intel_pxp *pxp, struct dentry *root)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#endif /* __INTEL_PXP_DEBUGFS_H__ */
|