2023-08-30 17:31:07 +02:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
/*
|
|
|
|
* Copyright © 2020 Intel Corporation
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __INTEL_DISPLAY_DEBUGFS_H__
|
|
|
|
#define __INTEL_DISPLAY_DEBUGFS_H__
|
|
|
|
|
|
|
|
struct drm_i915_private;
|
|
|
|
struct intel_connector;
|
2023-10-24 12:59:35 +02:00
|
|
|
struct intel_crtc;
|
2023-08-30 17:31:07 +02:00
|
|
|
|
|
|
|
#ifdef CONFIG_DEBUG_FS
|
|
|
|
void intel_display_debugfs_register(struct drm_i915_private *i915);
|
|
|
|
void intel_connector_debugfs_add(struct intel_connector *connector);
|
2023-10-24 12:59:35 +02:00
|
|
|
void intel_crtc_debugfs_add(struct intel_crtc *crtc);
|
2023-08-30 17:31:07 +02:00
|
|
|
#else
|
|
|
|
static inline void intel_display_debugfs_register(struct drm_i915_private *i915) {}
|
|
|
|
static inline void intel_connector_debugfs_add(struct intel_connector *connector) {}
|
2023-10-24 12:59:35 +02:00
|
|
|
static inline void intel_crtc_debugfs_add(struct intel_crtc *crtc) {}
|
2023-08-30 17:31:07 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __INTEL_DISPLAY_DEBUGFS_H__ */
|