xref: /openbmc/linux/drivers/gpu/drm/i915/i915_sysfs.h (revision 2dd6532e)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2019 Intel Corporation
4  */
5 
6 #ifndef __I915_SYSFS_H__
7 #define __I915_SYSFS_H__
8 
9 struct device;
10 struct drm_i915_private;
11 
12 struct drm_i915_private *kdev_minor_to_i915(struct device *kdev);
13 
14 void i915_setup_sysfs(struct drm_i915_private *i915);
15 void i915_teardown_sysfs(struct drm_i915_private *i915);
16 
17 #endif /* __I915_SYSFS_H__ */
18