Home
last modified time | relevance | path

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

/Linux-v5.4/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);
84 int (*create) (struct vmw_resource *res);
85 int (*destroy) (struct vmw_resource *res);
86 int (*bind) (struct vmw_resource *res,
88 int (*unbind) (struct vmw_resource *res,
91 void (*commit_notify)(struct vmw_resource *res,
109 int (*init)(struct vmw_resource *res, void *data);
110 void (*hw_destroy)(struct vmw_resource *res);
120 struct vmw_resource res;
[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_context.c36 struct vmw_resource res;
39 struct vmw_resource *cotables[SVGA_COTABLE_DX10_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_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_resource.c40 void vmw_resource_mob_attach(struct vmw_resource *res) in vmw_resource_mob_attach()
55 void vmw_resource_mob_detach(struct vmw_resource *res) in vmw_resource_mob_detach()
66 struct vmw_resource *vmw_resource_reference(struct vmw_resource *res) in vmw_resource_reference()
72 struct vmw_resource *
73 vmw_resource_reference_unless_doomed(struct vmw_resource *res) in vmw_resource_reference_unless_doomed()
85 void vmw_resource_release_id(struct vmw_resource *res) in vmw_resource_release_id()
99 struct vmw_resource *res = in vmw_resource_release()
100 container_of(kref, struct vmw_resource, kref); in vmw_resource_release()
145 void vmw_resource_unreference(struct vmw_resource **p_res) in vmw_resource_unreference()
147 struct vmw_resource *res = *p_res; in vmw_resource_unreference()
[all …]
Dvmwgfx_drv.h114 struct vmw_resource *dx_query_ctx;
165 struct vmw_resource { struct
180 void (*res_free) (struct vmw_resource *res); argument
181 void (*hw_destroy) (struct vmw_resource *res); argument
218 struct vmw_resource res;
271 struct vmw_resource *res;
385 struct vmw_resource *last_query_ctx;
393 struct vmw_resource *dx_query_ctx;
425 struct vmw_resource *context;
610 static inline struct vmw_surface *vmw_res_to_srf(struct vmw_resource *res) in vmw_res_to_srf()
[all …]
Dvmwgfx_so.h138 struct vmw_resource *ctx,
139 struct vmw_resource *srf,
149 struct vmw_resource **res_p);
156 extern struct vmw_resource *vmw_view_srf(struct vmw_resource *res);
157 extern struct vmw_resource *vmw_view_lookup(struct vmw_cmdbuf_res_manager *man,
160 extern u32 vmw_view_dirtying(struct vmw_resource *res);
Dvmwgfx_cotable.c51 struct vmw_resource res;
52 struct vmw_resource *ctx;
107 static int vmw_cotable_bind(struct vmw_resource *res,
109 static int vmw_cotable_unbind(struct vmw_resource *res,
112 static int vmw_cotable_create(struct vmw_resource *res);
113 static int vmw_cotable_destroy(struct vmw_resource *res);
135 static struct vmw_cotable *vmw_cotable(struct vmw_resource *res) in vmw_cotable()
148 static int vmw_cotable_destroy(struct vmw_resource *res) in vmw_cotable_destroy()
163 static int vmw_cotable_unscrub(struct vmw_resource *res) in vmw_cotable_unscrub()
205 static int vmw_cotable_bind(struct vmw_resource *res, in vmw_cotable_bind()
[all …]
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.c71 static void vmw_user_surface_free(struct vmw_resource *res);
72 static struct vmw_resource *
74 static int vmw_legacy_srf_bind(struct vmw_resource *res,
76 static int vmw_legacy_srf_unbind(struct vmw_resource *res,
79 static int vmw_legacy_srf_create(struct vmw_resource *res);
80 static int vmw_legacy_srf_destroy(struct vmw_resource *res);
81 static int vmw_gb_surface_create(struct vmw_resource *res);
82 static int vmw_gb_surface_bind(struct vmw_resource *res,
84 static int vmw_gb_surface_unbind(struct vmw_resource *res,
87 static int vmw_gb_surface_destroy(struct vmw_resource *res);
[all …]
Dvmwgfx_cmdbuf_res.c44 struct vmw_resource *res;
79 struct vmw_resource *
200 struct vmw_resource *res, in vmw_cmdbuf_res_add()
244 struct vmw_resource **res_p) in vmw_cmdbuf_res_remove()
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_binding.h72 struct vmw_resource *ctx;
73 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.c72 struct vmw_resource *res;
212 struct vmw_resource *res) in vmw_validation_find_res_dup()
311 struct vmw_resource *res, in vmw_validation_add_resource()
446 struct vmw_resource *res = val->res; in vmw_validation_res_reserve()
601 struct vmw_resource *res = val->res; in vmw_validation_res_validate()
Dvmwgfx_validation.h92 struct vmw_resource;
243 struct vmw_resource *res,
Dvmwgfx_binding.c243 static const struct vmw_resource *
747 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_sr()
788 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_rt()
869 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_so()
982 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_vb()
Dvmwgfx_ioctl.c260 struct vmw_resource *res; in vmw_present_ioctl()
Dvmwgfx_overlay.c468 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()
2594 int vmw_kms_update_proxy(struct vmw_resource *res, in vmw_kms_update_proxy()
Dvmwgfx_scrn.c1129 struct vmw_resource *srf, in vmw_kms_sou_do_surface_dirty()