Home
last modified time | relevance | path

Searched refs:ttm_object_file (Results 1 - 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
H A Dttm_object.h91 struct ttm_object_file;
101 * @tfile: Pointer to ttm_object_file of the creator.
128 struct ttm_object_file *tfile;
165 * @tfile: Pointer to a struct ttm_object_file.
176 extern int ttm_base_object_init(struct ttm_object_file *tfile,
190 * @tfile: Pointer to a struct ttm_object_file.
196 extern struct ttm_base_object *ttm_base_object_lookup(struct ttm_object_file
227 * @tfile: A struct ttm_object_file representing the application owning the
247 extern int ttm_ref_object_add(struct ttm_object_file *tfile,
252 extern bool ttm_ref_object_exists(struct ttm_object_file *tfil
[all...]
H A Dttm_object.c46 * struct ttm_object_file
69 struct ttm_object_file { struct
116 * a particular ttm_object_file. It also carries a ref count to avoid creating
117 * multiple ref objects if a ttm_object_file references the same base
128 struct ttm_object_file *tfile;
133 static inline struct ttm_object_file *
134 ttm_object_file_ref(struct ttm_object_file *tfile) in ttm_object_file_ref()
142 struct ttm_object_file *tfile = in ttm_object_file_destroy()
143 container_of(kref, struct ttm_object_file, refcount); in ttm_object_file_destroy()
149 static inline void ttm_object_file_unref(struct ttm_object_file **p_tfil
[all...]
H A Dvmwgfx_prime.c77 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_prime_fd_to_handle()
87 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_prime_handle_to_fd()
H A Dvmwgfx_bo.c587 * @tfile: Pointer to a struct ttm_object_file on which to register the user
597 struct ttm_object_file *tfile, in vmw_user_bo_alloc()
654 struct ttm_object_file *tfile) in vmw_user_bo_verify_access()
688 struct ttm_object_file *tfile, in vmw_user_bo_synccpu_grab()
738 struct ttm_object_file *tfile, in vmw_user_bo_synccpu_release()
768 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_user_bo_synccpu_ioctl()
902 int vmw_user_bo_lookup(struct ttm_object_file *tfile, in vmw_user_bo_lookup()
953 vmw_user_bo_noref_lookup(struct ttm_object_file *tfile, u32 handle) in vmw_user_bo_noref_lookup()
985 int vmw_user_bo_reference(struct ttm_object_file *tfile, in vmw_user_bo_reference()
1086 struct ttm_object_file *tfil in vmw_dumb_map_offset()
[all...]
H A Dvmwgfx_drv.h94 struct ttm_object_file *tfile;
763 struct ttm_object_file *tfile,
769 struct ttm_object_file *tfile,
775 struct ttm_object_file *tfile,
784 struct ttm_object_file *tfile,
854 struct ttm_object_file *tfile);
856 struct ttm_object_file *tfile,
862 extern int vmw_user_bo_reference(struct ttm_object_file *tfile,
871 extern int vmw_user_bo_lookup(struct ttm_object_file *tfile,
882 vmw_user_bo_noref_lookup(struct ttm_object_file *tfil
[all...]
H A Dvmwgfx_simple_resource.c151 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_simple_resource_create_ioctl()
223 * @tfile: struct ttm_object_file identifying the caller.
232 vmw_simple_resource_lookup(struct ttm_object_file *tfile, in vmw_simple_resource_lookup()
H A Dttm_lock.h176 * @tfile: Pointer to a struct ttm_object_file to register the lock with.
184 struct ttm_object_file *tfile);
H A Dvmwgfx_fence.c606 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_user_fence_create()
768 * @tfile: A struct ttm_object_file identifying the caller.
779 vmw_fence_obj_lookup(struct ttm_object_file *tfile, u32 handle) in vmw_fence_obj_lookup()
808 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_fence_obj_wait_ioctl()
863 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_fence_obj_signaled_ioctl()
1111 struct ttm_object_file *tfile = vmw_fp->tfile; in vmw_fence_event_ioctl()
H A Dvmwgfx_resource_priv.h149 vmw_simple_resource_lookup(struct ttm_object_file *tfile,
H A Dvmwgfx_va.c143 * @tfile: struct ttm_object_file identifying the caller.
153 struct ttm_object_file *tfile, in vmw_user_stream_lookup()
H A Dvmwgfx_shader.c707 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_shader_destroy_ioctl()
720 struct ttm_object_file *tfile, in vmw_user_shader_alloc()
846 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_shader_define()
954 * @tfile: Pointer to a struct ttm_object_file that the guest-backed shader is
H A Dvmwgfx_resource.c244 * @tfile: Pointer to a struct ttm_object_file identifying the caller
254 struct ttm_object_file *tfile, in vmw_user_resource_lookup_handle()
288 * @tfile: Pointer to a struct ttm_object_file identifying the caller
299 struct ttm_object_file *tfile, in vmw_user_resource_noref_lookup_handle()
324 struct ttm_object_file *tfile, in vmw_user_lookup_handle()
H A Dvmwgfx_surface.c713 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_surface_destroy_ioctl()
739 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_surface_define_ioctl()
936 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_surface_handle_reference()
1022 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_surface_reference_ioctl()
1457 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_gb_surface_define_internal()
1648 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_gb_surface_reference_internal()
H A Dvmwgfx_context.c721 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_context_destroy_ioctl()
734 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_context_define()
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dttm_object.h67 struct ttm_object_file;
77 * @tfile: Pointer to ttm_object_file of the creator.
104 struct ttm_object_file *tfile;
139 * @tfile: Pointer to a struct ttm_object_file.
150 extern int ttm_base_object_init(struct ttm_object_file *tfile,
160 * @tfile: Pointer to a struct ttm_object_file.
166 extern struct ttm_base_object *ttm_base_object_lookup(struct ttm_object_file
197 * @tfile: A struct ttm_object_file representing the application owning the
217 extern int ttm_ref_object_add(struct ttm_object_file *tfile,
233 extern int ttm_ref_object_base_unref(struct ttm_object_file *tfil
[all...]
H A Dttm_object.c62 * struct ttm_object_file
77 struct ttm_object_file { struct
119 * a particular ttm_object_file. It also carries a ref count to avoid creating
120 * multiple ref objects if a ttm_object_file references the same base
130 struct ttm_object_file *tfile;
135 static inline struct ttm_object_file *
136 ttm_object_file_ref(struct ttm_object_file *tfile) in ttm_object_file_ref()
142 static int ttm_tfile_find_ref_rcu(struct ttm_object_file *tfile, in ttm_tfile_find_ref_rcu()
157 static int ttm_tfile_find_ref(struct ttm_object_file *tfile, in ttm_tfile_find_ref()
174 struct ttm_object_file *tfil in ttm_object_file_destroy()
[all...]
H A Dvmwgfx_prime.c77 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_prime_fd_to_handle()
87 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_prime_handle_to_fd()
H A Dvmwgfx_simple_resource.c146 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_simple_resource_create_ioctl()
193 * @tfile: struct ttm_object_file identifying the caller.
202 vmw_simple_resource_lookup(struct ttm_object_file *tfile, in vmw_simple_resource_lookup()
H A Dvmwgfx_fence.c590 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_user_fence_create()
691 * @tfile: A struct ttm_object_file identifying the caller.
702 vmw_fence_obj_lookup(struct ttm_object_file *tfile, u32 handle) in vmw_fence_obj_lookup()
731 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_fence_obj_wait_ioctl()
785 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_fence_obj_signaled_ioctl()
1036 struct ttm_object_file *tfile = vmw_fp->tfile; in vmw_fence_event_ioctl()
H A Dvmwgfx_va.c145 * @tfile: struct ttm_object_file identifying the caller.
155 struct ttm_object_file *tfile, in vmw_user_stream_lookup()
H A Dvmwgfx_resource_priv.h151 vmw_simple_resource_lookup(struct ttm_object_file *tfile,
H A Dvmwgfx_shader.c680 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_shader_destroy_ioctl()
692 struct ttm_object_file *tfile, in vmw_user_shader_alloc()
776 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_shader_define()
H A Dvmwgfx_drv.h111 struct ttm_object_file *tfile;
810 struct ttm_object_file *tfile,
820 struct ttm_object_file *tfile,
1064 struct ttm_object_file *tfile,
H A Dvmwgfx_surface.c705 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_surface_destroy_ioctl()
731 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_surface_define_ioctl()
905 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_surface_handle_reference()
989 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_surface_reference_ioctl()
1424 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_gb_surface_define_internal()
H A Dvmwgfx_ioctl.c173 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; in vmw_present_ioctl()

Completed in 30 milliseconds

12