Home
last modified time | relevance | path

Searched refs:vmw_resource (Results 1 – 25 of 26) sorted by relevance

12

/Linux-v6.6/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource_priv.h53 struct vmw_resource *(*base_obj_to_res)(struct ttm_base_object *base);
54 void (*res_free) (struct vmw_resource *res);
93 int (*create) (struct vmw_resource *res);
94 int (*destroy) (struct vmw_resource *res);
95 int (*bind) (struct vmw_resource *res,
97 int (*unbind) (struct vmw_resource *res,
100 void (*commit_notify)(struct vmw_resource *res,
102 int (*dirty_alloc)(struct vmw_resource *res);
103 void (*dirty_free)(struct vmw_resource *res);
104 int (*dirty_sync)(struct vmw_resource *res);
[all …]
Dvmwgfx_streamoutput.c47 struct vmw_resource res;
48 struct vmw_resource *ctx;
49 struct vmw_resource *cotable;
56 static int vmw_dx_streamoutput_create(struct vmw_resource *res);
57 static int vmw_dx_streamoutput_bind(struct vmw_resource *res,
59 static int vmw_dx_streamoutput_unbind(struct vmw_resource *res, bool readback,
61 static void vmw_dx_streamoutput_commit_notify(struct vmw_resource *res,
79 vmw_res_to_dx_streamoutput(struct vmw_resource *res) in vmw_res_to_dx_streamoutput()
90 static int vmw_dx_streamoutput_unscrub(struct vmw_resource *res) in vmw_dx_streamoutput_unscrub()
119 static int vmw_dx_streamoutput_create(struct vmw_resource *res) in vmw_dx_streamoutput_create()
[all …]
Dvmwgfx_shader.c36 struct vmw_resource res;
49 struct vmw_resource res;
50 struct vmw_resource *ctx;
51 struct vmw_resource *cotable;
57 static void vmw_user_shader_free(struct vmw_resource *res);
58 static struct vmw_resource *
61 static int vmw_gb_shader_create(struct vmw_resource *res);
62 static int vmw_gb_shader_bind(struct vmw_resource *res,
64 static int vmw_gb_shader_unbind(struct vmw_resource *res,
67 static int vmw_gb_shader_destroy(struct vmw_resource *res);
[all …]
Dvmwgfx_so.c64 struct vmw_resource res;
65 struct vmw_resource *ctx; /* Immutable */
66 struct vmw_resource *srf; /* Immutable */
67 struct vmw_resource *cotable; /* Immutable */
77 static int vmw_view_create(struct vmw_resource *res);
78 static int vmw_view_destroy(struct vmw_resource *res);
79 static void vmw_hw_view_destroy(struct vmw_resource *res);
80 static void vmw_view_commit_notify(struct vmw_resource *res,
115 static struct vmw_view *vmw_view(struct vmw_resource *res) in vmw_view()
128 static void vmw_view_commit_notify(struct vmw_resource *res, in vmw_view_commit_notify()
[all …]
Dvmwgfx_context.c37 struct vmw_resource res;
40 struct vmw_resource *cotables[SVGA_COTABLE_MAX];
45 static void vmw_user_context_free(struct vmw_resource *res);
46 static struct vmw_resource *
49 static int vmw_gb_context_create(struct vmw_resource *res);
50 static int vmw_gb_context_bind(struct vmw_resource *res,
52 static int vmw_gb_context_unbind(struct vmw_resource *res,
55 static int vmw_gb_context_destroy(struct vmw_resource *res);
56 static int vmw_dx_context_create(struct vmw_resource *res);
57 static int vmw_dx_context_bind(struct vmw_resource *res,
[all …]
Dvmwgfx_resource.c41 void vmw_resource_mob_attach(struct vmw_resource *res) in vmw_resource_mob_attach()
51 struct vmw_resource *this = in vmw_resource_mob_attach()
52 container_of(*new, struct vmw_resource, mob_node); in vmw_resource_mob_attach()
69 void vmw_resource_mob_detach(struct vmw_resource *res) in vmw_resource_mob_detach()
81 struct vmw_resource *vmw_resource_reference(struct vmw_resource *res) in vmw_resource_reference()
87 struct vmw_resource *
88 vmw_resource_reference_unless_doomed(struct vmw_resource *res) in vmw_resource_reference_unless_doomed()
100 void vmw_resource_release_id(struct vmw_resource *res) in vmw_resource_release_id()
114 struct vmw_resource *res = in vmw_resource_release()
115 container_of(kref, struct vmw_resource, kref); in vmw_resource_release()
[all …]
Dvmwgfx_drv.h172 struct vmw_resource { struct
189 void (*res_free) (struct vmw_resource *res); argument
190 void (*hw_destroy) (struct vmw_resource *res); argument
275 struct vmw_resource res;
307 struct vmw_resource *res;
432 struct vmw_resource *last_query_ctx;
440 struct vmw_resource *dx_query_ctx;
472 struct vmw_resource *context;
658 static inline struct vmw_surface *vmw_res_to_srf(struct vmw_resource *res) in vmw_res_to_srf()
794 extern void vmw_resource_unreference(struct vmw_resource **p_res);
[all …]
Dvmwgfx_cotable.c53 struct vmw_resource res;
54 struct vmw_resource *ctx;
124 static int vmw_cotable_bind(struct vmw_resource *res,
126 static int vmw_cotable_unbind(struct vmw_resource *res,
129 static int vmw_cotable_create(struct vmw_resource *res);
130 static int vmw_cotable_destroy(struct vmw_resource *res);
153 static struct vmw_cotable *vmw_cotable(struct vmw_resource *res) in vmw_cotable()
166 static int vmw_cotable_destroy(struct vmw_resource *res) in vmw_cotable_destroy()
181 static int vmw_cotable_unscrub(struct vmw_resource *res) in vmw_cotable_unscrub()
223 static int vmw_cotable_bind(struct vmw_resource *res, in vmw_cotable_bind()
[all …]
Dvmwgfx_so.h149 struct vmw_resource *ctx,
150 struct vmw_resource *srf,
160 struct vmw_resource **res_p);
167 extern struct vmw_resource *vmw_view_srf(struct vmw_resource *res);
168 extern struct vmw_resource *vmw_view_lookup(struct vmw_cmdbuf_res_manager *man,
171 extern u32 vmw_view_dirtying(struct vmw_resource *res);
Dvmwgfx_simple_resource.c63 void (*res_free)(struct vmw_resource *res)) in vmw_simple_resource_init()
65 struct vmw_resource *res = &simple->res; in vmw_simple_resource_init()
94 static void vmw_simple_resource_free(struct vmw_resource *res) in vmw_simple_resource_free()
117 struct vmw_resource *res = &usimple->simple.res; in vmw_simple_resource_base_release()
144 struct vmw_resource *res; in vmw_simple_resource_create_ioctl()
145 struct vmw_resource *tmp; in vmw_simple_resource_create_ioctl()
201 struct vmw_resource *
208 struct vmw_resource *res; in vmw_simple_resource_lookup()
Dvmwgfx_va.c49 vmw_stream(struct vmw_resource *res) in vmw_stream()
57 static void vmw_stream_hw_destroy(struct vmw_resource *res) in vmw_stream_hw_destroy()
67 static int vmw_stream_init(struct vmw_resource *res, void *data) in vmw_stream_init()
156 uint32_t *inout_id, struct vmw_resource **out) in vmw_user_stream_lookup()
159 struct vmw_resource *res = in vmw_user_stream_lookup()
Dvmwgfx_surface.c83 static void vmw_user_surface_free(struct vmw_resource *res);
84 static struct vmw_resource *
86 static int vmw_legacy_srf_bind(struct vmw_resource *res,
88 static int vmw_legacy_srf_unbind(struct vmw_resource *res,
91 static int vmw_legacy_srf_create(struct vmw_resource *res);
92 static int vmw_legacy_srf_destroy(struct vmw_resource *res);
93 static int vmw_gb_surface_create(struct vmw_resource *res);
94 static int vmw_gb_surface_bind(struct vmw_resource *res,
96 static int vmw_gb_surface_unbind(struct vmw_resource *res,
99 static int vmw_gb_surface_destroy(struct vmw_resource *res);
[all …]
Dvmwgfx_cmdbuf_res.c46 struct vmw_resource *res;
81 struct vmw_resource *
198 struct vmw_resource *res, in vmw_cmdbuf_res_add()
238 struct vmw_resource **res_p) in vmw_cmdbuf_res_remove()
Dvmwgfx_execbuf.c104 const struct vmw_resource *res;
119 struct vmw_resource *ctx;
148 struct vmw_resource *ctx);
215 struct vmw_resource *res, in vmw_cmd_ctx_first_setup()
284 struct vmw_resource *res, in vmw_execbuf_rcache_update()
310 struct vmw_resource *res, in vmw_execbuf_res_val_add()
368 struct vmw_resource *view) in vmw_view_res_val_add()
400 static struct vmw_resource *
405 struct vmw_resource *view; in vmw_view_id_val_add()
435 struct vmw_resource *ctx) in vmw_resource_context_res_add()
[all …]
Dvmwgfx_binding.h77 struct vmw_resource *ctx;
78 struct vmw_resource *res;
Dvmwgfx_validation.h77 struct vmw_resource;
166 struct vmw_resource *res,
Dvmwgfx_kms.h394 struct vmw_resource *res;
510 int vmw_kms_update_proxy(struct vmw_resource *res,
523 struct vmw_resource *srf,
553 struct vmw_resource *srf,
Dvmwgfx_validation.c78 struct vmw_resource *res;
217 struct vmw_resource *res) in vmw_validation_find_res_dup()
304 struct vmw_resource *res, in vmw_validation_add_resource()
433 struct vmw_resource *res = val->res; in vmw_validation_res_reserve()
605 struct vmw_resource *res = val->res; in vmw_validation_res_validate()
Dvmwgfx_bo.h42 struct vmw_resource;
89 struct vmw_resource *dx_query_ctx;
Dvmwgfx_binding.c283 static const struct vmw_resource *
825 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_sr()
866 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_rt()
945 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_so_target()
1058 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_vb()
1092 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_uav()
1122 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_cs_uav()
Dvmwgfx_page_dirty.c307 void vmw_bo_dirty_transfer_to_res(struct vmw_resource *res) in vmw_bo_dirty_transfer_to_res()
352 void vmw_bo_dirty_clear_res(struct vmw_resource *res) in vmw_bo_dirty_clear_res()
Dvmwgfx_ioctl.c182 struct vmw_resource *res; in vmw_present_ioctl()
Dvmwgfx_overlay.c431 struct vmw_resource *res; in vmw_overlay_ioctl()
Dvmwgfx_stdu.c214 const struct vmw_resource *res) in vmw_stdu_bind_st()
713 struct vmw_resource *srf, in vmw_kms_stdu_surface_dirty()
Dvmwgfx_kms.c1427 struct vmw_resource *res; in vmw_create_bo_proxy()
2757 int vmw_kms_update_proxy(struct vmw_resource *res, in vmw_kms_update_proxy()

12