18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: MIT */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright © 2019 Intel Corporation 48c2ecf20Sopenharmony_ci */ 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci#ifndef __I915_DEBUGFS_H__ 78c2ecf20Sopenharmony_ci#define __I915_DEBUGFS_H__ 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_cistruct drm_connector; 108c2ecf20Sopenharmony_cistruct drm_i915_gem_object; 118c2ecf20Sopenharmony_cistruct drm_i915_private; 128c2ecf20Sopenharmony_cistruct seq_file; 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci#ifdef CONFIG_DEBUG_FS 158c2ecf20Sopenharmony_civoid i915_debugfs_register(struct drm_i915_private *dev_priv); 168c2ecf20Sopenharmony_civoid i915_debugfs_describe_obj(struct seq_file *m, struct drm_i915_gem_object *obj); 178c2ecf20Sopenharmony_ci#else 188c2ecf20Sopenharmony_cistatic inline void i915_debugfs_register(struct drm_i915_private *dev_priv) {} 198c2ecf20Sopenharmony_cistatic inline void i915_debugfs_describe_obj(struct seq_file *m, struct drm_i915_gem_object *obj) {} 208c2ecf20Sopenharmony_ci#endif 218c2ecf20Sopenharmony_ci 228c2ecf20Sopenharmony_ci#endif /* __I915_DEBUGFS_H__ */ 23