mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 19:19:57 +07:00
926b005cd8
The i915_debugfs.c has grown more than a little unwieldy. Split out the display related debugfs code to a file of its own under display/, initialized with a separate call. No functional changes. v2: - Also moved i915_frontbuffer_tracking, i915_gem_framebuffer, i915_power_domain_info, i915_dmc_info, i915_ipc_status (Ville) Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200211161451.6867-2-jani.nikula@intel.com
23 lines
636 B
C
23 lines
636 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2019 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __I915_DEBUGFS_H__
|
|
#define __I915_DEBUGFS_H__
|
|
|
|
struct drm_connector;
|
|
struct drm_i915_gem_object;
|
|
struct drm_i915_private;
|
|
struct seq_file;
|
|
|
|
#ifdef CONFIG_DEBUG_FS
|
|
int i915_debugfs_register(struct drm_i915_private *dev_priv);
|
|
void i915_debugfs_describe_obj(struct seq_file *m, struct drm_i915_gem_object *obj);
|
|
#else
|
|
static inline int i915_debugfs_register(struct drm_i915_private *dev_priv) { return 0; }
|
|
static inline void i915_debugfs_describe_obj(struct seq_file *m, struct drm_i915_gem_object *obj) {}
|
|
#endif
|
|
|
|
#endif /* __I915_DEBUGFS_H__ */
|