#include <linux/bitmap.h>
#include <linux/string_helpers.h>
#include "i915_drv.h"
#include "intel_gt_debugfs.h"
#include "intel_gt_regs.h"
#include "intel_sseu_debugfs.h"
static void cherryview_sseu_device_status(struct intel_gt *gt,
struct sseu_dev_info *sseu)
{ … }
static void gen11_sseu_device_status(struct intel_gt *gt,
struct sseu_dev_info *sseu)
{ … }
static void gen9_sseu_device_status(struct intel_gt *gt,
struct sseu_dev_info *sseu)
{ … }
static void bdw_sseu_device_status(struct intel_gt *gt,
struct sseu_dev_info *sseu)
{ … }
static void i915_print_sseu_info(struct seq_file *m,
bool is_available_info,
bool has_pooled_eu,
const struct sseu_dev_info *sseu)
{ … }
int intel_sseu_status(struct seq_file *m, struct intel_gt *gt)
{ … }
static int sseu_status_show(struct seq_file *m, void *unused)
{ … }
DEFINE_INTEL_GT_DEBUGFS_ATTRIBUTE(…);
static int sseu_topology_show(struct seq_file *m, void *unused)
{ … }
DEFINE_INTEL_GT_DEBUGFS_ATTRIBUTE(…);
void intel_sseu_debugfs_register(struct intel_gt *gt, struct dentry *root)
{ … }