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