linux/drivers/gpu/drm/i915/gt/intel_gt_pm_debugfs.c

// SPDX-License-Identifier: MIT

/*
 * Copyright © 2019 Intel Corporation
 */

#include <linux/seq_file.h>
#include <linux/string_helpers.h>

#include "i915_drv.h"
#include "i915_reg.h"
#include "intel_gt.h"
#include "intel_gt_clock_utils.h"
#include "intel_gt_debugfs.h"
#include "intel_gt_pm.h"
#include "intel_gt_pm_debugfs.h"
#include "intel_gt_regs.h"
#include "intel_llc.h"
#include "intel_mchbar_regs.h"
#include "intel_pcode.h"
#include "intel_rc6.h"
#include "intel_rps.h"
#include "intel_runtime_pm.h"
#include "intel_uncore.h"
#include "vlv_sideband.h"

void intel_gt_pm_debugfs_forcewake_user_open(struct intel_gt *gt)
{}

void intel_gt_pm_debugfs_forcewake_user_release(struct intel_gt *gt)
{}

static int forcewake_user_open(struct inode *inode, struct file *file)
{}

static int forcewake_user_release(struct inode *inode, struct file *file)
{}

static const struct file_operations forcewake_user_fops =;

static int fw_domains_show(struct seq_file *m, void *data)
{}
DEFINE_INTEL_GT_DEBUGFS_ATTRIBUTE();

static int vlv_drpc(struct seq_file *m)
{}

static int gen6_drpc(struct seq_file *m)
{}

static int ilk_drpc(struct seq_file *m)
{}

static int mtl_drpc(struct seq_file *m)
{}

static int drpc_show(struct seq_file *m, void *unused)
{}
DEFINE_INTEL_GT_DEBUGFS_ATTRIBUTE();

void intel_gt_pm_frequency_dump(struct intel_gt *gt, struct drm_printer *p)
{}

static int frequency_show(struct seq_file *m, void *unused)
{}
DEFINE_INTEL_GT_DEBUGFS_ATTRIBUTE();

static int llc_show(struct seq_file *m, void *data)
{}

static bool llc_eval(void *data)
{}

DEFINE_INTEL_GT_DEBUGFS_ATTRIBUTE();

static const char *rps_power_to_str(unsigned int power)
{}

static int rps_boost_show(struct seq_file *m, void *data)
{}

static bool rps_eval(void *data)
{}

DEFINE_INTEL_GT_DEBUGFS_ATTRIBUTE();

static int perf_limit_reasons_get(void *data, u64 *val)
{}

static int perf_limit_reasons_clear(void *data, u64 val)
{}

static bool perf_limit_reasons_eval(void *data)
{}

DEFINE_SIMPLE_ATTRIBUTE();

void intel_gt_pm_debugfs_register(struct intel_gt *gt, struct dentry *root)
{}