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 9struct drm_connector; 10struct drm_crtc; 11struct drm_i915_private; 12 13#ifdef CONFIG_DEBUG_FS 14void intel_display_debugfs_register(struct drm_i915_private *i915); 15int intel_connector_debugfs_add(struct drm_connector *connector); 16int intel_crtc_debugfs_add(struct drm_crtc *crtc); 17#else 18static inline void intel_display_debugfs_register(struct drm_i915_private *i915) {} 19static inline int intel_connector_debugfs_add(struct drm_connector *connector) { return 0; } 20static inline int intel_crtc_debugfs_add(struct drm_crtc *crtc) { return 0; } 21#endif 22 23#endif /* __INTEL_DISPLAY_DEBUGFS_H__ */ 24