xref: /linux/drivers/gpu/drm/i915/gem/i915_gem_ioctls.h (revision ebcb4029)
1 /*
2  * SPDX-License-Identifier: MIT
3  *
4  * Copyright © 2019 Intel Corporation
5  */
6 
7 #ifndef I915_GEM_IOCTLS_H
8 #define I915_GEM_IOCTLS_H
9 
10 struct drm_device;
11 struct drm_file;
12 
13 int i915_gem_busy_ioctl(struct drm_device *dev, void *data,
14 			struct drm_file *file);
15 int i915_gem_create_ioctl(struct drm_device *dev, void *data,
16 			  struct drm_file *file);
17 int i915_gem_create_ext_ioctl(struct drm_device *dev, void *data,
18 			      struct drm_file *file);
19 int i915_gem_execbuffer2_ioctl(struct drm_device *dev, void *data,
20 			       struct drm_file *file);
21 int i915_gem_get_aperture_ioctl(struct drm_device *dev, void *data,
22 				struct drm_file *file);
23 int i915_gem_get_caching_ioctl(struct drm_device *dev, void *data,
24 			       struct drm_file *file);
25 int i915_gem_get_tiling_ioctl(struct drm_device *dev, void *data,
26 			      struct drm_file *file);
27 int i915_gem_madvise_ioctl(struct drm_device *dev, void *data,
28 			   struct drm_file *file);
29 int i915_gem_mmap_ioctl(struct drm_device *dev, void *data,
30 			struct drm_file *file);
31 int i915_gem_mmap_offset_ioctl(struct drm_device *dev, void *data,
32 			       struct drm_file *file);
33 int i915_gem_pread_ioctl(struct drm_device *dev, void *data,
34 			 struct drm_file *file);
35 int i915_gem_pwrite_ioctl(struct drm_device *dev, void *data,
36 			  struct drm_file *file);
37 int i915_gem_set_caching_ioctl(struct drm_device *dev, void *data,
38 			       struct drm_file *file);
39 int i915_gem_set_domain_ioctl(struct drm_device *dev, void *data,
40 			      struct drm_file *file);
41 int i915_gem_set_tiling_ioctl(struct drm_device *dev, void *data,
42 			      struct drm_file *file);
43 int i915_gem_sw_finish_ioctl(struct drm_device *dev, void *data,
44 			     struct drm_file *file);
45 int i915_gem_throttle_ioctl(struct drm_device *dev, void *data,
46 			    struct drm_file *file);
47 int i915_gem_userptr_ioctl(struct drm_device *dev, void *data,
48 			   struct drm_file *file);
49 int i915_gem_wait_ioctl(struct drm_device *dev, void *data,
50 			struct drm_file *file);
51 
52 #endif
53