]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - drivers/gpu/drm/i915/i915_debugfs.h
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid
[mirror_ubuntu-hirsute-kernel.git] / drivers / gpu / drm / i915 / i915_debugfs.h
CommitLineData
2126d3e9
JN
1/* SPDX-License-Identifier: MIT */
2/*
3 * Copyright © 2019 Intel Corporation
4 */
5
6#ifndef __I915_DEBUGFS_H__
7#define __I915_DEBUGFS_H__
8
9struct drm_i915_private;
10struct drm_connector;
11
12#ifdef CONFIG_DEBUG_FS
13int i915_debugfs_register(struct drm_i915_private *dev_priv);
14int i915_debugfs_connector_add(struct drm_connector *connector);
15#else
16static inline int i915_debugfs_register(struct drm_i915_private *dev_priv) { return 0; }
17static inline int i915_debugfs_connector_add(struct drm_connector *connector) { return 0; }
18#endif
19
20#endif /* __I915_DEBUGFS_H__ */