-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/i915: Pull GEM ioctls interface to its own file
Declutter i915_drv/gem.h by moving the ioctl API into its own header. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190528092956.14910-2-chris@chris-wilson.co.uk
- Loading branch information
Chris Wilson
committed
May 28, 2019
1 parent
5e5d2e2
commit afa1308
Showing
7 changed files
with
66 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/* | ||
* SPDX-License-Identifier: MIT | ||
* | ||
* Copyright © 2019 Intel Corporation | ||
*/ | ||
|
||
#ifndef I915_GEM_IOCTLS_H | ||
#define I915_GEM_IOCTLS_H | ||
|
||
struct drm_device; | ||
struct drm_file; | ||
|
||
int i915_gem_busy_ioctl(struct drm_device *dev, void *data, | ||
struct drm_file *file); | ||
int i915_gem_create_ioctl(struct drm_device *dev, void *data, | ||
struct drm_file *file); | ||
int i915_gem_execbuffer_ioctl(struct drm_device *dev, void *data, | ||
struct drm_file *file); | ||
int i915_gem_execbuffer2_ioctl(struct drm_device *dev, void *data, | ||
struct drm_file *file); | ||
int i915_gem_get_aperture_ioctl(struct drm_device *dev, void *data, | ||
struct drm_file *file); | ||
int i915_gem_get_caching_ioctl(struct drm_device *dev, void *data, | ||
struct drm_file *file); | ||
int i915_gem_get_tiling_ioctl(struct drm_device *dev, void *data, | ||
struct drm_file *file); | ||
int i915_gem_madvise_ioctl(struct drm_device *dev, void *data, | ||
struct drm_file *file); | ||
int i915_gem_mmap_ioctl(struct drm_device *dev, void *data, | ||
struct drm_file *file); | ||
int i915_gem_mmap_gtt_ioctl(struct drm_device *dev, void *data, | ||
struct drm_file *file); | ||
int i915_gem_pread_ioctl(struct drm_device *dev, void *data, | ||
struct drm_file *file); | ||
int i915_gem_pwrite_ioctl(struct drm_device *dev, void *data, | ||
struct drm_file *file); | ||
int i915_gem_set_caching_ioctl(struct drm_device *dev, void *data, | ||
struct drm_file *file); | ||
int i915_gem_set_domain_ioctl(struct drm_device *dev, void *data, | ||
struct drm_file *file); | ||
int i915_gem_set_tiling_ioctl(struct drm_device *dev, void *data, | ||
struct drm_file *file); | ||
int i915_gem_sw_finish_ioctl(struct drm_device *dev, void *data, | ||
struct drm_file *file); | ||
int i915_gem_throttle_ioctl(struct drm_device *dev, void *data, | ||
struct drm_file *file); | ||
int i915_gem_userptr_ioctl(struct drm_device *dev, void *data, | ||
struct drm_file *file); | ||
int i915_gem_wait_ioctl(struct drm_device *dev, void *data, | ||
struct drm_file *file); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters