162306a36Sopenharmony_ci/* SPDX-License-Identifier: MIT */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright © 2019 Intel Corporation 462306a36Sopenharmony_ci */ 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci#ifndef __I915_DEBUGFS_H__ 762306a36Sopenharmony_ci#define __I915_DEBUGFS_H__ 862306a36Sopenharmony_ci 962306a36Sopenharmony_cistruct drm_connector; 1062306a36Sopenharmony_cistruct drm_i915_gem_object; 1162306a36Sopenharmony_cistruct drm_i915_private; 1262306a36Sopenharmony_cistruct seq_file; 1362306a36Sopenharmony_ci 1462306a36Sopenharmony_ci#ifdef CONFIG_DEBUG_FS 1562306a36Sopenharmony_civoid i915_debugfs_register(struct drm_i915_private *dev_priv); 1662306a36Sopenharmony_civoid i915_debugfs_describe_obj(struct seq_file *m, struct drm_i915_gem_object *obj); 1762306a36Sopenharmony_ci#else 1862306a36Sopenharmony_cistatic inline void i915_debugfs_register(struct drm_i915_private *dev_priv) {} 1962306a36Sopenharmony_cistatic inline void i915_debugfs_describe_obj(struct seq_file *m, struct drm_i915_gem_object *obj) {} 2062306a36Sopenharmony_ci#endif 2162306a36Sopenharmony_ci 2262306a36Sopenharmony_ci#endif /* __I915_DEBUGFS_H__ */ 23