Home | History | Annotate | Line # | Download | only in i915
      1  1.1  riastrad /*	$NetBSD: i915_debugfs.h,v 1.2 2021/12/18 23:45:28 riastradh Exp $	*/
      2  1.1  riastrad 
      3  1.1  riastrad /* SPDX-License-Identifier: MIT */
      4  1.1  riastrad /*
      5  1.1  riastrad  * Copyright  2019 Intel Corporation
      6  1.1  riastrad  */
      7  1.1  riastrad 
      8  1.1  riastrad #ifndef __I915_DEBUGFS_H__
      9  1.1  riastrad #define __I915_DEBUGFS_H__
     10  1.1  riastrad 
     11  1.1  riastrad struct drm_i915_private;
     12  1.1  riastrad struct drm_connector;
     13  1.1  riastrad 
     14  1.1  riastrad #ifdef CONFIG_DEBUG_FS
     15  1.1  riastrad int i915_debugfs_register(struct drm_i915_private *dev_priv);
     16  1.1  riastrad int i915_debugfs_connector_add(struct drm_connector *connector);
     17  1.1  riastrad #else
     18  1.1  riastrad static inline int i915_debugfs_register(struct drm_i915_private *dev_priv) { return 0; }
     19  1.1  riastrad static inline int i915_debugfs_connector_add(struct drm_connector *connector) { return 0; }
     20  1.1  riastrad #endif
     21  1.1  riastrad 
     22  1.1  riastrad #endif /* __I915_DEBUGFS_H__ */
     23