drm/xe/pf: Expose PF monitor details via debugfs
For debug purposes we might want to view statistics maintained by the PF driver about VFs activity. Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240514190015.2172-9-michal.wajdeczko@intel.com
This commit is contained in:
@ -17,6 +17,7 @@
|
|||||||
#include "xe_gt_sriov_pf_control.h"
|
#include "xe_gt_sriov_pf_control.h"
|
||||||
#include "xe_gt_sriov_pf_debugfs.h"
|
#include "xe_gt_sriov_pf_debugfs.h"
|
||||||
#include "xe_gt_sriov_pf_helpers.h"
|
#include "xe_gt_sriov_pf_helpers.h"
|
||||||
|
#include "xe_gt_sriov_pf_monitor.h"
|
||||||
#include "xe_gt_sriov_pf_policy.h"
|
#include "xe_gt_sriov_pf_policy.h"
|
||||||
#include "xe_gt_sriov_pf_service.h"
|
#include "xe_gt_sriov_pf_service.h"
|
||||||
#include "xe_pm.h"
|
#include "xe_pm.h"
|
||||||
@ -55,6 +56,7 @@ static unsigned int extract_vfid(struct dentry *d)
|
|||||||
* │ │ ├── doorbells_provisioned
|
* │ │ ├── doorbells_provisioned
|
||||||
* │ │ ├── runtime_registers
|
* │ │ ├── runtime_registers
|
||||||
* │ │ ├── negotiated_versions
|
* │ │ ├── negotiated_versions
|
||||||
|
* │ │ ├── adverse_events
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static const struct drm_info_list pf_info[] = {
|
static const struct drm_info_list pf_info[] = {
|
||||||
@ -88,6 +90,11 @@ static const struct drm_info_list pf_info[] = {
|
|||||||
.show = xe_gt_debugfs_simple_show,
|
.show = xe_gt_debugfs_simple_show,
|
||||||
.data = xe_gt_sriov_pf_service_print_version,
|
.data = xe_gt_sriov_pf_service_print_version,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"adverse_events",
|
||||||
|
.show = xe_gt_debugfs_simple_show,
|
||||||
|
.data = xe_gt_sriov_pf_monitor_print_events,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user