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
21 lines
601 B
C
21 lines
601 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2020 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_DISPLAY_DEBUGFS_H__
|
|
#define __INTEL_DISPLAY_DEBUGFS_H__
|
|
|
|
struct drm_connector;
|
|
struct drm_i915_private;
|
|
|
|
#ifdef CONFIG_DEBUG_FS
|
|
int intel_display_debugfs_register(struct drm_i915_private *i915);
|
|
int intel_connector_debugfs_add(struct drm_connector *connector);
|
|
#else
|
|
static inline int intel_display_debugfs_register(struct drm_i915_private *i915) { return 0; }
|
|
static inline int intel_connector_debugfs_add(struct drm_connector *connector) { return 0; }
|
|
#endif
|
|
|
|
#endif /* __INTEL_DISPLAY_DEBUGFS_H__ */
|