Home
last modified time | relevance | path

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

/Linux-v5.15/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);
91 int (*create) (struct vmw_resource *res);
92 int (*destroy) (struct vmw_resource *res);
93 int (*bind) (struct vmw_resource *res,
95 int (*unbind) (struct vmw_resource *res,
98 void (*commit_notify)(struct vmw_resource *res,
100 int (*dirty_alloc)(struct vmw_resource *res);
101 void (*dirty_free)(struct vmw_resource *res);
102 int (*dirty_sync)(struct vmw_resource *res);
[all …]
Dvmwgfx_streamoutput.c46 struct vmw_resource res;
47 struct vmw_resource *ctx;
48 struct vmw_resource *cotable;
55 static int vmw_dx_streamoutput_create(struct vmw_resource *res);
56 static int vmw_dx_streamoutput_bind(struct vmw_resource *res,
58 static int vmw_dx_streamoutput_unbind(struct vmw_resource *res, bool readback,
60 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_so.c63 struct vmw_resource res;
64 struct vmw_resource *ctx; /* Immutable */
65 struct vmw_resource *srf; /* Immutable */
66 struct vmw_resource *cotable; /* Immutable */
76 static int vmw_view_create(struct vmw_resource *res);
77 static int vmw_view_destroy(struct vmw_resource *res);
78 static void vmw_hw_view_destroy(struct vmw_resource *res);
79 static void vmw_view_commit_notify(struct vmw_resource *res,
113 static struct vmw_view *vmw_view(struct vmw_resource *res) in vmw_view()
126 static void vmw_view_commit_notify(struct vmw_resource *res, in vmw_view_commit_notify()
[all …]
Dvmwgfx_context.c36 struct vmw_resource res;
39 struct vmw_resource *cotables[SVGA_COTABLE_MAX];
44 static void vmw_user_context_free(struct vmw_resource *res);
45 static struct vmw_resource *
48 static int vmw_gb_context_create(struct vmw_resource *res);
49 static int vmw_gb_context_bind(struct vmw_resource *res,
51 static int vmw_gb_context_unbind(struct vmw_resource *res,
54 static int vmw_gb_context_destroy(struct vmw_resource *res);
55 static int vmw_dx_context_create(struct vmw_resource *res);
56 static int vmw_dx_context_bind(struct vmw_resource *res,
[all …]
Dvmwgfx_resource.c40 void vmw_resource_mob_attach(struct vmw_resource *res) in vmw_resource_mob_attach()
50 struct vmw_resource *this = in vmw_resource_mob_attach()
51 container_of(*new, struct vmw_resource, mob_node); in vmw_resource_mob_attach()
68 void vmw_resource_mob_detach(struct vmw_resource *res) in vmw_resource_mob_detach()
80 struct vmw_resource *vmw_resource_reference(struct vmw_resource *res) in vmw_resource_reference()
86 struct vmw_resource *
87 vmw_resource_reference_unless_doomed(struct vmw_resource *res) in vmw_resource_reference_unless_doomed()
99 void vmw_resource_release_id(struct vmw_resource *res) in vmw_resource_release_id()
113 struct vmw_resource *res = in vmw_resource_release()
114 container_of(kref, struct vmw_resource, kref); in vmw_resource_release()
[all …]
Dvmwgfx_shader.c35 struct vmw_resource res;
48 struct vmw_resource res;
49 struct vmw_resource *ctx;
50 struct vmw_resource *cotable;
60 static void vmw_user_shader_free(struct vmw_resource *res);
61 static struct vmw_resource *
64 static int vmw_gb_shader_create(struct vmw_resource *res);
65 static int vmw_gb_shader_bind(struct vmw_resource *res,
67 static int vmw_gb_shader_unbind(struct vmw_resource *res,
70 static int vmw_gb_shader_destroy(struct vmw_resource *res);
[all …]
Dvmwgfx_drv.h118 struct vmw_resource *dx_query_ctx;
172 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;
420 struct vmw_resource *last_query_ctx;
428 struct vmw_resource *dx_query_ctx;
460 struct vmw_resource *context;
648 static inline struct vmw_surface *vmw_res_to_srf(struct vmw_resource *res) in vmw_res_to_srf()
[all …]
Dvmwgfx_cotable.c51 struct vmw_resource res;
52 struct vmw_resource *ctx;
110 static int vmw_cotable_bind(struct vmw_resource *res,
112 static int vmw_cotable_unbind(struct vmw_resource *res,
115 static int vmw_cotable_create(struct vmw_resource *res);
116 static int vmw_cotable_destroy(struct vmw_resource *res);
138 static struct vmw_cotable *vmw_cotable(struct vmw_resource *res) in vmw_cotable()
151 static int vmw_cotable_destroy(struct vmw_resource *res) in vmw_cotable_destroy()
166 static int vmw_cotable_unscrub(struct vmw_resource *res) in vmw_cotable_unscrub()
208 static int vmw_cotable_bind(struct vmw_resource *res, in vmw_cotable_bind()
[all …]
Dvmwgfx_so.h145 struct vmw_resource *ctx,
146 struct vmw_resource *srf,
156 struct vmw_resource **res_p);
163 extern struct vmw_resource *vmw_view_srf(struct vmw_resource *res);
164 extern struct vmw_resource *vmw_view_lookup(struct vmw_cmdbuf_res_manager *man,
167 extern u32 vmw_view_dirtying(struct vmw_resource *res);
Dvmwgfx_simple_resource.c65 void (*res_free)(struct vmw_resource *res)) in vmw_simple_resource_init()
67 struct vmw_resource *res = &simple->res; in vmw_simple_resource_init()
96 static void vmw_simple_resource_free(struct vmw_resource *res) in vmw_simple_resource_free()
122 struct vmw_resource *res = &usimple->simple.res; in vmw_simple_resource_base_release()
149 struct vmw_resource *res; in vmw_simple_resource_create_ioctl()
150 struct vmw_resource *tmp; in vmw_simple_resource_create_ioctl()
226 struct vmw_resource *
233 struct vmw_resource *res; in vmw_simple_resource_lookup()
Dvmwgfx_va.c48 vmw_stream(struct vmw_resource *res) in vmw_stream()
56 static void vmw_stream_hw_destroy(struct vmw_resource *res) in vmw_stream_hw_destroy()
66 static int vmw_stream_init(struct vmw_resource *res, void *data) in vmw_stream_init()
154 uint32_t *inout_id, struct vmw_resource **out) in vmw_user_stream_lookup()
157 struct vmw_resource *res = in vmw_user_stream_lookup()
Dvmwgfx_surface.c88 static void vmw_user_surface_free(struct vmw_resource *res);
89 static struct vmw_resource *
91 static int vmw_legacy_srf_bind(struct vmw_resource *res,
93 static int vmw_legacy_srf_unbind(struct vmw_resource *res,
96 static int vmw_legacy_srf_create(struct vmw_resource *res);
97 static int vmw_legacy_srf_destroy(struct vmw_resource *res);
98 static int vmw_gb_surface_create(struct vmw_resource *res);
99 static int vmw_gb_surface_bind(struct vmw_resource *res,
101 static int vmw_gb_surface_unbind(struct vmw_resource *res,
104 static int vmw_gb_surface_destroy(struct vmw_resource *res);
[all …]
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()
305 struct vmw_resource *res, in vmw_execbuf_res_noref_val_add()
357 struct vmw_resource *res, in vmw_execbuf_res_noctx_val_add()
393 struct vmw_resource *view) in vmw_view_res_val_add()
425 static struct vmw_resource *
430 struct vmw_resource *view; in vmw_view_id_val_add()
[all …]
Dvmwgfx_cmdbuf_res.c44 struct vmw_resource *res;
79 struct vmw_resource *
198 struct vmw_resource *res, in vmw_cmdbuf_res_add()
244 struct vmw_resource **res_p) in vmw_cmdbuf_res_remove()
Dvmwgfx_binding.h77 struct vmw_resource *ctx;
78 struct vmw_resource *res;
Dvmwgfx_kms.h376 struct vmw_resource *res;
502 int vmw_kms_update_proxy(struct vmw_resource *res,
515 struct vmw_resource *srf,
545 struct vmw_resource *srf,
Dvmwgfx_validation.h92 struct vmw_resource;
229 struct vmw_resource *res,
Dvmwgfx_validation.c76 struct vmw_resource *res;
216 struct vmw_resource *res) in vmw_validation_find_res_dup()
315 struct vmw_resource *res, in vmw_validation_add_resource()
450 struct vmw_resource *res = val->res; in vmw_validation_res_reserve()
645 struct vmw_resource *res = val->res; in vmw_validation_res_validate()
Dvmwgfx_binding.c283 static const struct vmw_resource *
804 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_sr()
845 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_rt()
924 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_so_target()
1037 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_vb()
1071 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_uav()
1101 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_cs_uav()
Dvmwgfx_page_dirty.c325 void vmw_bo_dirty_transfer_to_res(struct vmw_resource *res) in vmw_bo_dirty_transfer_to_res()
370 void vmw_bo_dirty_clear_res(struct vmw_resource *res) in vmw_bo_dirty_clear_res()
Dvmwgfx_ioctl.c176 struct vmw_resource *res; in vmw_present_ioctl()
Dvmwgfx_overlay.c437 struct vmw_resource *res; in vmw_overlay_ioctl()
Dvmwgfx_stdu.c217 const struct vmw_resource *res) in vmw_stdu_bind_st()
857 struct vmw_resource *srf, in vmw_kms_stdu_surface_dirty()
Dvmwgfx_kms.c1155 struct vmw_resource *res; in vmw_create_bo_proxy()
2540 int vmw_kms_update_proxy(struct vmw_resource *res, in vmw_kms_update_proxy()
Dvmwgfx_scrn.c1127 struct vmw_resource *srf, in vmw_kms_sou_do_surface_dirty()