1 /* SPDX-License-Identifier: MIT */
3 * Copyright © 2020 Intel Corporation
6 #ifndef __INTEL_DISPLAY_DEBUGFS_H__
7 #define __INTEL_DISPLAY_DEBUGFS_H__
11 struct drm_i915_private;
13 #ifdef CONFIG_DEBUG_FS
14 void intel_display_debugfs_register(struct drm_i915_private *i915);
15 int intel_connector_debugfs_add(struct drm_connector *connector);
16 int intel_crtc_debugfs_add(struct drm_crtc *crtc);
18 static inline void intel_display_debugfs_register(struct drm_i915_private *i915) {}
19 static inline int intel_connector_debugfs_add(struct drm_connector *connector) { return 0; }
20 static inline int intel_crtc_debugfs_add(struct drm_crtc *crtc) { return 0; }
23 #endif /* __INTEL_DISPLAY_DEBUGFS_H__ */