mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
198bca9340
Add new files i915_ioctl.[ch] to hold small ioctls that are out of place everywhere else, and not big enough to warrant a file of their own. For starters, it's just for i915_reg_read_ioctl() that's a bit high level for a low level implementation that intel_uncore.[ch] is. Suggested-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220120113346.3214745-1-jani.nikula@intel.com
15 lines
285 B
C
15 lines
285 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2022 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __I915_IOCTL_H__
|
|
#define __I915_IOCTL_H__
|
|
|
|
struct drm_device;
|
|
struct drm_file;
|
|
|
|
int i915_reg_read_ioctl(struct drm_device *dev, void *data, struct drm_file *file);
|
|
|
|
#endif /* __I915_IOCTL_H__ */
|