mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
21 lines
562 B
C
21 lines
562 B
C
|
/* SPDX-License-Identifier: MIT */
|
||
|
/*
|
||
|
* Copyright © 2019 Intel Corporation
|
||
|
*/
|
||
|
|
||
|
#ifndef __I915_DEBUGFS_H__
|
||
|
#define __I915_DEBUGFS_H__
|
||
|
|
||
|
struct drm_i915_private;
|
||
|
struct drm_connector;
|
||
|
|
||
|
#ifdef CONFIG_DEBUG_FS
|
||
|
int i915_debugfs_register(struct drm_i915_private *dev_priv);
|
||
|
int i915_debugfs_connector_add(struct drm_connector *connector);
|
||
|
#else
|
||
|
static inline int i915_debugfs_register(struct drm_i915_private *dev_priv) { return 0; }
|
||
|
static inline int i915_debugfs_connector_add(struct drm_connector *connector) { return 0; }
|
||
|
#endif
|
||
|
|
||
|
#endif /* __I915_DEBUGFS_H__ */
|