Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: MIT */
0002 /*
0003  * Copyright © 2019 Intel Corporation
0004  */
0005 
0006 #ifndef __I915_DEBUGFS_H__
0007 #define __I915_DEBUGFS_H__
0008 
0009 struct drm_connector;
0010 struct drm_i915_gem_object;
0011 struct drm_i915_private;
0012 struct seq_file;
0013 
0014 #ifdef CONFIG_DEBUG_FS
0015 void i915_debugfs_register(struct drm_i915_private *dev_priv);
0016 void i915_debugfs_describe_obj(struct seq_file *m, struct drm_i915_gem_object *obj);
0017 #else
0018 static inline void i915_debugfs_register(struct drm_i915_private *dev_priv) {}
0019 static inline void i915_debugfs_describe_obj(struct seq_file *m, struct drm_i915_gem_object *obj) {}
0020 #endif
0021 
0022 #endif /* __I915_DEBUGFS_H__ */