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

/linux-4.4.14/include/drm/ttm/
H A Dttm_object.h90 struct ttm_object_file;
100 * @tfile: Pointer to ttm_object_file of the creator.
130 struct ttm_object_file *tfile;
164 * @tfile: Pointer to a struct ttm_object_file.
175 extern int ttm_base_object_init(struct ttm_object_file *tfile,
189 * @tfile: Pointer to a struct ttm_object_file.
195 extern struct ttm_base_object *ttm_base_object_lookup(struct ttm_object_file
226 * @tfile: A struct ttm_object_file representing the application owning the
244 extern int ttm_ref_object_add(struct ttm_object_file *tfile,
248 extern bool ttm_ref_object_exists(struct ttm_object_file *tfile,
262 extern int ttm_ref_object_base_unref(struct ttm_object_file *tfile,
275 extern struct ttm_object_file *ttm_object_file_init(struct ttm_object_device
280 * ttm_object_file_release - release data held by a ttm_object_file
282 * @p_tfile: Pointer to pointer to the ttm_object_file object to release.
285 * Releases all data associated by a ttm_object_file.
290 extern void ttm_object_file_release(struct ttm_object_file **p_tfile);
324 extern int ttm_prime_object_init(struct ttm_object_file *tfile,
342 extern int ttm_prime_fd_to_handle(struct ttm_object_file *tfile,
344 extern int ttm_prime_handle_to_fd(struct ttm_object_file *tfile,
H A Dttm_lock.h77 struct ttm_object_file *vt_holder;
180 * @tfile: Pointer to a struct ttm_object_file to register the lock with.
188 struct ttm_object_file *tfile);
/linux-4.4.14/drivers/gpu/drm/ttm/
H A Dttm_object.c45 * struct ttm_object_file
69 struct ttm_object_file { struct
115 * a particular ttm_object_file. It also carries a ref count to avoid creating
116 * multiple ref objects if a ttm_object_file references the same base
127 struct ttm_object_file *tfile;
132 static inline struct ttm_object_file * ttm_object_file_ref()
133 ttm_object_file_ref(struct ttm_object_file *tfile) ttm_object_file_ref()
141 struct ttm_object_file *tfile = ttm_object_file_destroy()
142 container_of(kref, struct ttm_object_file, refcount); ttm_object_file_destroy()
148 static inline void ttm_object_file_unref(struct ttm_object_file **p_tfile) ttm_object_file_unref()
150 struct ttm_object_file *tfile = *p_tfile; ttm_object_file_unref()
157 int ttm_base_object_init(struct ttm_object_file *tfile, ttm_base_object_init()
229 struct ttm_base_object *ttm_base_object_lookup(struct ttm_object_file *tfile, ttm_base_object_lookup()
277 * @tfile: Pointer to a struct ttm_object_file identifying the caller.
283 bool ttm_ref_object_exists(struct ttm_object_file *tfile, ttm_ref_object_exists()
319 int ttm_ref_object_add(struct ttm_object_file *tfile, ttm_ref_object_add()
392 struct ttm_object_file *tfile = ref->tfile; ttm_ref_object_release()
410 int ttm_ref_object_base_unref(struct ttm_object_file *tfile, ttm_ref_object_base_unref()
431 void ttm_object_file_release(struct ttm_object_file **p_tfile) ttm_object_file_release()
436 struct ttm_object_file *tfile = *p_tfile; ttm_object_file_release()
460 struct ttm_object_file *ttm_object_file_init(struct ttm_object_device *tdev, ttm_object_file_init()
463 struct ttm_object_file *tfile = kmalloc(sizeof(*tfile), GFP_KERNEL); ttm_object_file_init()
611 * @tfile: A struct ttm_object_file identifying the caller.
619 int ttm_prime_fd_to_handle(struct ttm_object_file *tfile, ttm_prime_fd_to_handle()
649 * @tfile: Struct ttm_object_file identifying the caller.
655 int ttm_prime_handle_to_fd(struct ttm_object_file *tfile, ttm_prime_handle_to_fd()
737 * @tfile: struct ttm_object_file identifying the caller
748 int ttm_prime_object_init(struct ttm_object_file *tfile, size_t size, ttm_prime_object_init()
H A Dttm_lock.c232 struct ttm_object_file *tfile) ttm_vt_lock()
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_prime.c124 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; vmw_prime_fd_to_handle()
134 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; vmw_prime_handle_to_fd()
H A Dvmwgfx_resource.c285 * @tfile: Pointer to a struct ttm_object_file identifying the caller
295 struct ttm_object_file *tfile, vmw_user_resource_lookup_handle()
338 struct ttm_object_file *tfile, vmw_user_lookup_handle()
471 * @tfile: Pointer to a struct ttm_object_file on which to register the user
480 struct ttm_object_file *tfile, vmw_user_dmabuf_alloc()
537 struct ttm_object_file *tfile) vmw_user_dmabuf_verify_access()
566 struct ttm_object_file *tfile, vmw_user_dmabuf_synccpu_grab()
610 struct ttm_object_file *tfile, vmw_user_dmabuf_synccpu_release()
638 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; vmw_user_dmabuf_synccpu_ioctl()
732 int vmw_user_dmabuf_lookup(struct ttm_object_file *tfile, vmw_user_dmabuf_lookup()
765 int vmw_user_dmabuf_reference(struct ttm_object_file *tfile, vmw_user_dmabuf_reference()
862 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; vmw_stream_unref_ioctl()
896 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; vmw_stream_claim_ioctl()
960 struct ttm_object_file *tfile, vmw_user_stream_lookup()
1044 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; vmw_dumb_map_offset()
H A Dvmwgfx_drv.h82 struct ttm_object_file *tfile;
609 struct ttm_object_file *tfile,
615 struct ttm_object_file *tfile,
626 struct ttm_object_file *tfile);
628 struct ttm_object_file *tfile,
634 extern int vmw_user_dmabuf_reference(struct ttm_object_file *tfile,
646 extern int vmw_user_dmabuf_lookup(struct ttm_object_file *tfile,
654 struct ttm_object_file *tfile,
906 struct ttm_object_file *tfile,
1000 struct ttm_object_file *tfile,
1044 struct ttm_object_file *tfile,
H A Dvmwgfx_surface.c677 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; vmw_surface_destroy_ioctl()
702 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; vmw_surface_define_ioctl()
902 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; vmw_surface_handle_reference()
990 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; vmw_surface_reference_ioctl()
1289 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; vmw_gb_surface_define_ioctl()
1402 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; vmw_gb_surface_reference_ioctl()
H A Dvmwgfx_shader.c714 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; vmw_shader_destroy_ioctl()
727 struct ttm_object_file *tfile, vmw_user_shader_alloc()
851 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; vmw_shader_define()
960 * @tfile: Pointer to a struct ttm_object_file that the guest-backed shader is
H A Dvmwgfx_context.c734 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; vmw_context_destroy_ioctl()
747 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; vmw_context_define()
H A Dvmwgfx_ioctl.c250 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; vmw_present_ioctl()
H A Dvmwgfx_fence.c593 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; vmw_user_fence_create()
713 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; vmw_fence_obj_wait_ioctl()
772 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; vmw_fence_obj_signaled_ioctl()
H A Dvmwgfx_overlay.c464 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; vmw_overlay_ioctl()
H A Dvmwgfx_kms.c170 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; vmw_du_crtc_cursor_set2()
265 struct ttm_object_file *tfile, vmw_kms_cursor_snoop()
978 struct ttm_object_file *tfile = vmw_fpriv(file_priv)->tfile; vmw_kms_fb_create()
H A Dvmwgfx_buffer.c774 struct ttm_object_file *tfile = vmw_verify_access()

Completed in 1104 milliseconds