#include "xe_debugfs.h"
#include <linux/debugfs.h>
#include <linux/string_helpers.h>
#include <drm/drm_debugfs.h>
#include "xe_bo.h"
#include "xe_device.h"
#include "xe_force_wake.h"
#include "xe_gt_debugfs.h"
#include "xe_gt_printk.h"
#include "xe_guc_ads.h"
#include "xe_pm.h"
#include "xe_sriov.h"
#include "xe_step.h"
#ifdef CONFIG_DRM_XE_DEBUG
#include "xe_bo_evict.h"
#include "xe_migrate.h"
#include "xe_vm.h"
#endif
#ifdef CONFIG_FAULT_INJECTION
#include <linux/fault-inject.h>
DECLARE_FAULT_ATTR(gt_reset_failure);
#endif
static struct xe_device *node_to_xe(struct drm_info_node *node)
{ … }
static int info(struct seq_file *m, void *data)
{ … }
static int sriov_info(struct seq_file *m, void *data)
{ … }
static const struct drm_info_list debugfs_list[] = …;
static int forcewake_open(struct inode *inode, struct file *file)
{ … }
static int forcewake_release(struct inode *inode, struct file *file)
{ … }
static const struct file_operations forcewake_all_fops = …;
static ssize_t wedged_mode_show(struct file *f, char __user *ubuf,
size_t size, loff_t *pos)
{ … }
static ssize_t wedged_mode_set(struct file *f, const char __user *ubuf,
size_t size, loff_t *pos)
{ … }
static const struct file_operations wedged_mode_fops = …;
void xe_debugfs_register(struct xe_device *xe)
{ … }