1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2020 Intel Corporation
4  */
5 
6 #ifndef __INTEL_DISPLAY_DEBUGFS_H__
7 #define __INTEL_DISPLAY_DEBUGFS_H__
8 
9 struct drm_crtc;
10 struct drm_i915_private;
11 struct intel_connector;
12 
13 #ifdef CONFIG_DEBUG_FS
14 void intel_display_debugfs_register(struct drm_i915_private *i915);
15 void intel_connector_debugfs_add(struct intel_connector *connector);
16 void intel_crtc_debugfs_add(struct drm_crtc *crtc);
17 #else
18 static inline void intel_display_debugfs_register(struct drm_i915_private *i915) {}
19 static inline void intel_connector_debugfs_add(struct intel_connector *connector) {}
20 static inline void intel_crtc_debugfs_add(struct drm_crtc *crtc) {}
21 #endif
22 
23 #endif /* __INTEL_DISPLAY_DEBUGFS_H__ */
24