Home
last modified time | relevance | path

Searched refs:ttm_base_object (Results 1 - 23 of 23) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
H A Dttm_object.h95 * struct ttm_base_object
126 struct ttm_base_object { struct
130 void (*refcount_release) (struct ttm_base_object **base);
131 void (*ref_obj_release) (struct ttm_base_object *base,
142 * @base: struct ttm_base_object that we derive from
154 struct ttm_base_object base;
159 void (*refcount_release) (struct ttm_base_object **);
166 * @base: The struct ttm_base_object to initialize.
170 * @refcount_release: See the struct ttm_base_object description.
171 * @ref_obj_release: See the struct ttm_base_object descriptio
[all...]
H A Dttm_object.c127 struct ttm_base_object *obj;
159 struct ttm_base_object *base, in ttm_base_object_init()
162 void (*refcount_release) (struct ttm_base_object **), in ttm_base_object_init()
163 void (*ref_obj_release) (struct ttm_base_object *, in ttm_base_object_init()
200 struct ttm_base_object *base = in ttm_release_base()
201 container_of(kref, struct ttm_base_object, refcount); in ttm_release_base()
219 void ttm_base_object_unref(struct ttm_base_object **p_base) in ttm_base_object_unref()
221 struct ttm_base_object *base = *p_base; in ttm_base_object_unref()
244 struct ttm_base_object *
263 struct ttm_base_object *ttm_base_object_looku
[all...]
H A Dvmwgfx_simple_resource.c39 struct ttm_base_object base;
111 * @p_base: The struct ttm_base_object member of the simple resource object.
113 * Called when the last reference to the embedded struct ttm_base_object is
117 static void vmw_simple_resource_base_release(struct ttm_base_object **p_base) in vmw_simple_resource_base_release()
119 struct ttm_base_object *base = *p_base; in vmw_simple_resource_base_release()
237 struct ttm_base_object *base; in vmw_simple_resource_lookup()
H A Dvmwgfx_bo.c540 static void vmw_user_bo_release(struct ttm_base_object **p_base) in vmw_user_bo_release()
543 struct ttm_base_object *base = *p_base; in vmw_user_bo_release()
566 static void vmw_user_bo_ref_obj_release(struct ttm_base_object *base, in vmw_user_bo_ref_obj_release()
602 struct ttm_base_object **p_base) in vmw_user_bo_alloc()
769 struct ttm_base_object *buffer_base; in vmw_user_bo_synccpu_ioctl()
904 struct ttm_base_object **p_base) in vmw_user_bo_lookup()
907 struct ttm_base_object *base; in vmw_user_bo_lookup()
956 struct ttm_base_object *base; in vmw_user_bo_noref_lookup()
H A Dvmwgfx_fence.c54 struct ttm_base_object base;
589 static void vmw_user_fence_base_release(struct ttm_base_object **p_base) in vmw_user_fence_base_release()
591 struct ttm_base_object *base = *p_base; in vmw_user_fence_base_release()
778 static struct ttm_base_object *
781 struct ttm_base_object *base = ttm_base_object_lookup(tfile, handle); in vmw_fence_obj_lookup()
806 struct ttm_base_object *base; in vmw_fence_obj_wait_ioctl()
860 struct ttm_base_object *base; in vmw_fence_obj_signaled_ioctl()
1124 struct ttm_base_object *base = in vmw_fence_event_ioctl()
H A Dttm_lock.h69 struct ttm_base_object base;
H A Dvmwgfx_context.c35 struct ttm_base_object base;
46 vmw_user_context_base_to_res(struct ttm_base_object *base);
680 vmw_user_context_base_to_res(struct ttm_base_object *base) in vmw_user_context_base_to_res()
706 static void vmw_user_context_base_release(struct ttm_base_object **p_base) in vmw_user_context_base_release()
708 struct ttm_base_object *base = *p_base; in vmw_user_context_base_release()
H A Dvmwgfx_shader.c43 struct ttm_base_object base;
62 vmw_user_shader_base_to_res(struct ttm_base_object *base);
662 vmw_user_shader_base_to_res(struct ttm_base_object *base) in vmw_user_shader_base_to_res()
694 static void vmw_user_shader_base_release(struct ttm_base_object **p_base) in vmw_user_shader_base_release()
696 struct ttm_base_object *base = *p_base; in vmw_user_shader_base_release()
H A Dvmwgfx_resource_priv.h48 * type and provide a function to convert its ttm_base_object pointer to
53 struct vmw_resource *(*base_obj_to_res)(struct ttm_base_object *base);
H A Dvmwgfx_surface.c54 struct ttm_base_object *backup_base;
87 vmw_user_surface_base_to_res(struct ttm_base_object *base);
650 vmw_user_surface_base_to_res(struct ttm_base_object *base) in vmw_user_surface_base_to_res()
688 static void vmw_user_surface_base_release(struct ttm_base_object **p_base) in vmw_user_surface_base_release()
690 struct ttm_base_object *base = *p_base; in vmw_user_surface_base_release()
934 struct ttm_base_object **base_p) in vmw_surface_handle_reference()
939 struct ttm_base_object *base; in vmw_surface_handle_reference()
1026 struct ttm_base_object *base; in vmw_surface_reference_ioctl()
1652 struct ttm_base_object *base; in vmw_gb_surface_reference_internal()
H A Dvmwgfx_kms.h222 struct ttm_base_object *user_obj;
H A Dvmwgfx_resource.c260 struct ttm_base_object *base; in vmw_user_resource_lookup_handle()
304 struct ttm_base_object *base; in vmw_user_resource_noref_lookup_handle()
H A Dvmwgfx_drv.h861 struct ttm_base_object **p_base);
873 struct ttm_base_object **base);
H A Dvmwgfx_kms.c1370 struct ttm_base_object *user_obj; in vmw_kms_fb_create()
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dttm_object.h71 * struct ttm_base_object
102 struct ttm_base_object { struct
106 void (*refcount_release) (struct ttm_base_object **base);
116 * @base: struct ttm_base_object that we derive from
128 struct ttm_base_object base;
133 void (*refcount_release) (struct ttm_base_object **);
140 * @base: The struct ttm_base_object to initialize.
144 * @refcount_release: See the struct ttm_base_object description.
145 * @ref_obj_release: See the struct ttm_base_object description.
147 * Initializes a struct ttm_base_object
[all...]
H A Dttm_object.c129 struct ttm_base_object *obj;
191 struct ttm_base_object *base, in ttm_base_object_init()
194 void (*refcount_release) (struct ttm_base_object **)) in ttm_base_object_init()
229 struct ttm_base_object *base = in ttm_release_base()
230 container_of(kref, struct ttm_base_object, refcount); in ttm_release_base()
248 void ttm_base_object_unref(struct ttm_base_object **p_base) in ttm_base_object_unref()
250 struct ttm_base_object *base = *p_base; in ttm_base_object_unref()
257 struct ttm_base_object *ttm_base_object_lookup(struct ttm_object_file *tfile, in ttm_base_object_lookup()
260 struct ttm_base_object *base = NULL; in ttm_base_object_lookup()
278 struct ttm_base_object *
[all...]
H A Dvmwgfx_simple_resource.c38 struct ttm_base_object base;
106 * @p_base: The struct ttm_base_object member of the simple resource object.
108 * Called when the last reference to the embedded struct ttm_base_object is
112 static void vmw_simple_resource_base_release(struct ttm_base_object **p_base) in vmw_simple_resource_base_release()
114 struct ttm_base_object *base = *p_base; in vmw_simple_resource_base_release()
207 struct ttm_base_object *base; in vmw_simple_resource_lookup()
H A Dvmwgfx_fence.c51 struct ttm_base_object base;
573 static void vmw_user_fence_base_release(struct ttm_base_object **p_base) in vmw_user_fence_base_release()
575 struct ttm_base_object *base = *p_base; in vmw_user_fence_base_release()
701 static struct ttm_base_object *
704 struct ttm_base_object *base = ttm_base_object_lookup(tfile, handle); in vmw_fence_obj_lookup()
729 struct ttm_base_object *base; in vmw_fence_obj_wait_ioctl()
782 struct ttm_base_object *base; in vmw_fence_obj_signaled_ioctl()
1049 struct ttm_base_object *base = in vmw_fence_event_ioctl()
H A Dvmwgfx_context.c36 struct ttm_base_object base;
47 vmw_user_context_base_to_res(struct ttm_base_object *base);
682 vmw_user_context_base_to_res(struct ttm_base_object *base) in vmw_user_context_base_to_res()
705 static void vmw_user_context_base_release(struct ttm_base_object **p_base) in vmw_user_context_base_release()
707 struct ttm_base_object *base = *p_base; in vmw_user_context_base_release()
H A Dvmwgfx_shader.c44 struct ttm_base_object base;
59 vmw_user_shader_base_to_res(struct ttm_base_object *base);
641 vmw_user_shader_base_to_res(struct ttm_base_object *base) in vmw_user_shader_base_to_res()
667 static void vmw_user_shader_base_release(struct ttm_base_object **p_base) in vmw_user_shader_base_release()
669 struct ttm_base_object *base = *p_base; in vmw_user_shader_base_release()
H A Dvmwgfx_resource_priv.h48 * type and provide a function to convert its ttm_base_object pointer to
53 struct vmw_resource *(*base_obj_to_res)(struct ttm_base_object *base);
H A Dvmwgfx_surface.c85 vmw_user_surface_base_to_res(struct ttm_base_object *base);
647 vmw_user_surface_base_to_res(struct ttm_base_object *base) in vmw_user_surface_base_to_res()
682 static void vmw_user_surface_base_release(struct ttm_base_object **p_base) in vmw_user_surface_base_release()
684 struct ttm_base_object *base = *p_base; in vmw_user_surface_base_release()
903 struct ttm_base_object **base_p) in vmw_surface_handle_reference()
908 struct ttm_base_object *base; in vmw_surface_handle_reference()
993 struct ttm_base_object *base; in vmw_surface_reference_ioctl()
1601 struct ttm_base_object *base; in vmw_gb_surface_reference_internal()
H A Dvmwgfx_resource.c262 struct ttm_base_object *base; in vmw_user_resource_lookup_handle()

Completed in 29 milliseconds