WIP FPC-III support
[linux/fpc-iii.git] / drivers / gpu / drm / i915 / i915_debugfs.h
blob1de2736f124872e25cf269afa1913f8668f251ac
1 /* SPDX-License-Identifier: MIT */
2 /*
3 * Copyright © 2019 Intel Corporation
4 */
6 #ifndef __I915_DEBUGFS_H__
7 #define __I915_DEBUGFS_H__
9 struct drm_connector;
10 struct drm_i915_gem_object;
11 struct drm_i915_private;
12 struct seq_file;
14 #ifdef CONFIG_DEBUG_FS
15 void i915_debugfs_register(struct drm_i915_private *dev_priv);
16 void i915_debugfs_describe_obj(struct seq_file *m, struct drm_i915_gem_object *obj);
17 #else
18 static inline void i915_debugfs_register(struct drm_i915_private *dev_priv) {}
19 static inline void i915_debugfs_describe_obj(struct seq_file *m, struct drm_i915_gem_object *obj) {}
20 #endif
22 #endif /* __I915_DEBUGFS_H__ */