mirror of
https://github.com/torvalds/linux.git
synced 2026-12-04 12:24:18 +00:00
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ä <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
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__ */
|