Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource_priv.h46 struct vmw_resource *(*base_obj_to_res)(struct ttm_base_object *base);
47 void (*res_free) (struct vmw_resource *res);
75 int (*create) (struct vmw_resource *res);
76 int (*destroy) (struct vmw_resource *res);
77 int (*bind) (struct vmw_resource *res,
79 int (*unbind) (struct vmw_resource *res,
82 void (*commit_notify)(struct vmw_resource *res,
86 int vmw_resource_alloc_id(struct vmw_resource *res);
87 void vmw_resource_release_id(struct vmw_resource *res);
88 int vmw_resource_init(struct vmw_private *dev_priv, struct vmw_resource *res,
[all …]
Dvmwgfx_context.c35 struct vmw_resource res;
38 struct vmw_resource *cotables[SVGA_COTABLE_DX10_MAX];
43 static void vmw_user_context_free(struct vmw_resource *res);
44 static struct vmw_resource *
47 static int vmw_gb_context_create(struct vmw_resource *res);
48 static int vmw_gb_context_bind(struct vmw_resource *res,
50 static int vmw_gb_context_unbind(struct vmw_resource *res,
53 static int vmw_gb_context_destroy(struct vmw_resource *res);
54 static int vmw_dx_context_create(struct vmw_resource *res);
55 static int vmw_dx_context_bind(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_shader.c34 struct vmw_resource res;
47 struct vmw_resource res;
48 struct vmw_resource *ctx;
49 struct vmw_resource *cotable;
59 static void vmw_user_shader_free(struct vmw_resource *res);
60 static struct vmw_resource *
63 static int vmw_gb_shader_create(struct vmw_resource *res);
64 static int vmw_gb_shader_bind(struct vmw_resource *res,
66 static int vmw_gb_shader_unbind(struct vmw_resource *res,
69 static int vmw_gb_shader_destroy(struct vmw_resource *res);
[all …]
Dvmwgfx_drv.h92 struct vmw_resource *dx_query_ctx;
111 struct vmw_resource { struct
126 void (*res_free) (struct vmw_resource *res); argument
127 void (*hw_destroy) (struct vmw_resource *res); argument
165 struct vmw_resource res;
223 struct vmw_resource *res;
308 struct vmw_resource *last_query_ctx;
310 struct vmw_resource *error_resource;
316 struct vmw_resource *dx_query_ctx;
351 struct vmw_resource *context;
[all …]
Dvmwgfx_cotable.c50 struct vmw_resource res;
51 struct vmw_resource *ctx;
106 static int vmw_cotable_bind(struct vmw_resource *res,
108 static int vmw_cotable_unbind(struct vmw_resource *res,
111 static int vmw_cotable_create(struct vmw_resource *res);
112 static int vmw_cotable_destroy(struct vmw_resource *res);
132 static struct vmw_cotable *vmw_cotable(struct vmw_resource *res) in vmw_cotable()
145 static int vmw_cotable_destroy(struct vmw_resource *res) in vmw_cotable_destroy()
160 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_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,
Dvmwgfx_resource.c49 struct vmw_resource res;
86 struct vmw_resource *vmw_resource_reference(struct vmw_resource *res) in vmw_resource_reference()
92 struct vmw_resource *
93 vmw_resource_reference_unless_doomed(struct vmw_resource *res) in vmw_resource_reference_unless_doomed()
105 void vmw_resource_release_id(struct vmw_resource *res) in vmw_resource_release_id()
119 struct vmw_resource *res = in vmw_resource_release()
120 container_of(kref, struct vmw_resource, kref); in vmw_resource_release()
166 void vmw_resource_unreference(struct vmw_resource **p_res) in vmw_resource_unreference()
168 struct vmw_resource *res = *p_res; in vmw_resource_unreference()
183 int vmw_resource_alloc_id(struct vmw_resource *res) in vmw_resource_alloc_id()
[all …]
Dvmwgfx_surface.c66 static void vmw_user_surface_free(struct vmw_resource *res);
67 static struct vmw_resource *
69 static int vmw_legacy_srf_bind(struct vmw_resource *res,
71 static int vmw_legacy_srf_unbind(struct vmw_resource *res,
74 static int vmw_legacy_srf_create(struct vmw_resource *res);
75 static int vmw_legacy_srf_destroy(struct vmw_resource *res);
76 static int vmw_gb_surface_create(struct vmw_resource *res);
77 static int vmw_gb_surface_bind(struct vmw_resource *res,
79 static int vmw_gb_surface_unbind(struct vmw_resource *res,
82 static int vmw_gb_surface_destroy(struct vmw_resource *res);
[all …]
Dvmwgfx_kms.h232 int vmw_kms_helper_resource_prepare(struct vmw_resource *res,
234 void vmw_kms_helper_resource_revert(struct vmw_resource *res);
235 void vmw_kms_helper_resource_finish(struct vmw_resource *res,
268 int vmw_kms_update_proxy(struct vmw_resource *res,
282 struct vmw_resource *srf,
309 struct vmw_resource *srf,
Dvmwgfx_cmdbuf_res.c44 struct vmw_resource *res;
79 struct vmw_resource *
201 struct vmw_resource *res, in vmw_cmdbuf_res_add()
245 struct vmw_resource **res_p) in vmw_cmdbuf_res_remove()
Dvmwgfx_binding.h71 struct vmw_resource *ctx;
72 struct vmw_resource *res;
Dvmwgfx_execbuf.c47 const struct vmw_resource *res;
73 struct vmw_resource *res;
103 struct vmw_resource *ctx);
132 struct vmw_resource *res = val->res; in vmw_resources_unreserve()
218 struct vmw_resource *res, in vmw_resource_val_add()
287 struct vmw_resource *view) in vmw_view_res_val_add()
318 struct vmw_resource *view; in vmw_view_id_val_add()
349 struct vmw_resource *ctx) in vmw_resource_context_res_add()
354 struct vmw_resource *res; in vmw_resource_context_res_add()
415 const struct vmw_resource *res, in vmw_resource_relocation_add()
[all …]
Dvmwgfx_binding.c243 static const struct vmw_resource *
761 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_sr()
805 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_rt()
889 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_so()
1005 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_vb()
Dvmwgfx_stdu.c153 struct vmw_resource *res = &stdu->display_srf->res; in vmw_stdu_unpin_display()
246 struct vmw_resource *res) in vmw_stdu_bind_st()
997 struct vmw_resource *srf, in vmw_kms_stdu_surface_dirty()
Dvmwgfx_kms.c765 struct vmw_resource *res; in vmw_create_dmabuf_proxy()
1917 void vmw_kms_helper_resource_revert(struct vmw_resource *res) in vmw_kms_helper_resource_revert()
1935 int vmw_kms_helper_resource_prepare(struct vmw_resource *res, in vmw_kms_helper_resource_prepare()
1981 void vmw_kms_helper_resource_finish(struct vmw_resource *res, in vmw_kms_helper_resource_finish()
2006 int vmw_kms_update_proxy(struct vmw_resource *res, in vmw_kms_update_proxy()
Dvmwgfx_ioctl.c259 struct vmw_resource *res; in vmw_present_ioctl()
Dvmwgfx_overlay.c470 struct vmw_resource *res; in vmw_overlay_ioctl()
Dvmwgfx_scrn.c835 struct vmw_resource *srf, in vmw_kms_sou_do_surface_dirty()