Home
last modified time | relevance | path

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

/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_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_so.c62 struct vmw_resource res;
63 struct vmw_resource *ctx; /* Immutable */
64 struct vmw_resource *srf; /* Immutable */
65 struct vmw_resource *cotable; /* Immutable */
75 static int vmw_view_create(struct vmw_resource *res);
76 static int vmw_view_destroy(struct vmw_resource *res);
77 static void vmw_hw_view_destroy(struct vmw_resource *res);
78 static void vmw_view_commit_notify(struct vmw_resource *res,
112 static struct vmw_view *vmw_view(struct vmw_resource *res) in vmw_view()
125 static void vmw_view_commit_notify(struct vmw_resource *res, in vmw_view_commit_notify()
[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.h116 struct vmw_resource *dx_query_ctx;
170 struct vmw_resource { struct
187 void (*res_free) (struct vmw_resource *res); argument
188 void (*hw_destroy) (struct vmw_resource *res); argument
273 struct vmw_resource res;
314 struct vmw_resource *res;
428 struct vmw_resource *last_query_ctx;
436 struct vmw_resource *dx_query_ctx;
468 struct vmw_resource *context;
657 static inline struct vmw_surface *vmw_res_to_srf(struct vmw_resource *res) in vmw_res_to_srf()
[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_cotable.c51 struct vmw_resource res;
52 struct vmw_resource *ctx;
109 static int vmw_cotable_bind(struct vmw_resource *res,
111 static int vmw_cotable_unbind(struct vmw_resource *res,
114 static int vmw_cotable_create(struct vmw_resource *res);
115 static int vmw_cotable_destroy(struct vmw_resource *res);
137 static struct vmw_cotable *vmw_cotable(struct vmw_resource *res) in vmw_cotable()
150 static int vmw_cotable_destroy(struct vmw_resource *res) in vmw_cotable_destroy()
165 static int vmw_cotable_unscrub(struct vmw_resource *res) in vmw_cotable_unscrub()
207 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()
231 struct vmw_resource *
238 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.c85 static void vmw_user_surface_free(struct vmw_resource *res);
86 static struct vmw_resource *
88 static int vmw_legacy_srf_bind(struct vmw_resource *res,
90 static int vmw_legacy_srf_unbind(struct vmw_resource *res,
93 static int vmw_legacy_srf_create(struct vmw_resource *res);
94 static int vmw_legacy_srf_destroy(struct vmw_resource *res);
95 static int vmw_gb_surface_create(struct vmw_resource *res);
96 static int vmw_gb_surface_bind(struct vmw_resource *res,
98 static int vmw_gb_surface_unbind(struct vmw_resource *res,
101 static int vmw_gb_surface_destroy(struct vmw_resource *res);
[all …]
Dvmwgfx_execbuf.c102 const struct vmw_resource *res;
117 struct vmw_resource *ctx;
144 struct vmw_resource *ctx);
210 struct vmw_resource *res, in vmw_cmd_ctx_first_setup()
279 struct vmw_resource *res, in vmw_execbuf_rcache_update()
300 struct vmw_resource *res, in vmw_execbuf_res_noref_val_add()
352 struct vmw_resource *res, in vmw_execbuf_res_noctx_val_add()
388 struct vmw_resource *view) in vmw_view_res_val_add()
420 static struct vmw_resource *
425 struct vmw_resource *view; in vmw_view_id_val_add()
[all …]
Dvmwgfx_cmdbuf_res.c44 struct vmw_resource *res;
79 struct vmw_resource *
200 struct vmw_resource *res, in vmw_cmdbuf_res_add()
246 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.c75 struct vmw_resource *res;
215 struct vmw_resource *res) in vmw_validation_find_res_dup()
314 struct vmw_resource *res, in vmw_validation_add_resource()
449 struct vmw_resource *res = val->res; in vmw_validation_res_reserve()
644 struct vmw_resource *res = val->res; in vmw_validation_res_validate()
Dvmwgfx_validation.h92 struct vmw_resource;
229 struct vmw_resource *res,
Dvmwgfx_binding.c283 static const struct vmw_resource *
803 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_sr()
844 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_rt()
925 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_so_target()
1038 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_vb()
1072 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_uav()
1102 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.c266 struct vmw_resource *res; in vmw_present_ioctl()
Dvmwgfx_overlay.c437 struct vmw_resource *res; in vmw_overlay_ioctl()
Dvmwgfx_stdu.c213 const struct vmw_resource *res) in vmw_stdu_bind_st()
852 struct vmw_resource *srf, in vmw_kms_stdu_surface_dirty()
Dvmwgfx_kms.c1149 struct vmw_resource *res; in vmw_create_bo_proxy()
2504 int vmw_kms_update_proxy(struct vmw_resource *res, in vmw_kms_update_proxy()
Dvmwgfx_scrn.c1131 struct vmw_resource *srf, in vmw_kms_sou_do_surface_dirty()