Merge tag 'io_uring-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / gpu / drm / i915 / display / intel_display_debugfs.h
blobc922c1745bfe170d91af1f857d74db23306e9401
1 /* SPDX-License-Identifier: MIT */
2 /*
3 * Copyright © 2020 Intel Corporation
4 */
6 #ifndef __INTEL_DISPLAY_DEBUGFS_H__
7 #define __INTEL_DISPLAY_DEBUGFS_H__
9 struct drm_connector;
10 struct drm_i915_private;
12 #ifdef CONFIG_DEBUG_FS
13 void intel_display_debugfs_register(struct drm_i915_private *i915);
14 int intel_connector_debugfs_add(struct drm_connector *connector);
15 #else
16 static inline void intel_display_debugfs_register(struct drm_i915_private *i915) {}
17 static inline int intel_connector_debugfs_add(struct drm_connector *connector) { return 0; }
18 #endif
20 #endif /* __INTEL_DISPLAY_DEBUGFS_H__ */