Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource_priv.h48 struct vmw_resource *(*base_obj_to_res)(struct ttm_base_object *base);
49 void (*res_free) (struct vmw_resource *res);
77 int (*create) (struct vmw_resource *res);
78 int (*destroy) (struct vmw_resource *res);
79 int (*bind) (struct vmw_resource *res,
81 int (*unbind) (struct vmw_resource *res,
84 void (*commit_notify)(struct vmw_resource *res,
102 int (*init)(struct vmw_resource *res, void *data);
103 void (*hw_destroy)(struct vmw_resource *res);
113 struct vmw_resource res;
[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_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_resource.c37 struct vmw_resource *vmw_resource_reference(struct vmw_resource *res) in vmw_resource_reference()
43 struct vmw_resource *
44 vmw_resource_reference_unless_doomed(struct vmw_resource *res) in vmw_resource_reference_unless_doomed()
56 void vmw_resource_release_id(struct vmw_resource *res) in vmw_resource_release_id()
70 struct vmw_resource *res = in vmw_resource_release()
71 container_of(kref, struct vmw_resource, kref); in vmw_resource_release()
117 void vmw_resource_unreference(struct vmw_resource **p_res) in vmw_resource_unreference()
119 struct vmw_resource *res = *p_res; in vmw_resource_unreference()
134 int vmw_resource_alloc_id(struct vmw_resource *res) in vmw_resource_alloc_id()
165 int vmw_resource_init(struct vmw_private *dev_priv, struct vmw_resource *res, in vmw_resource_init()
[all …]
Dvmwgfx_drv.h94 struct vmw_resource *dx_query_ctx;
115 struct vmw_resource { struct
130 void (*res_free) (struct vmw_resource *res); argument
131 void (*hw_destroy) (struct vmw_resource *res); argument
168 struct vmw_resource res;
228 struct vmw_resource *res;
313 struct vmw_resource *last_query_ctx;
315 struct vmw_resource *error_resource;
321 struct vmw_resource *dx_query_ctx;
356 struct vmw_resource *context;
[all …]
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);
133 static struct vmw_cotable *vmw_cotable(struct vmw_resource *res) in vmw_cotable()
146 static int vmw_cotable_destroy(struct vmw_resource *res) in vmw_cotable_destroy()
161 static int vmw_cotable_unscrub(struct vmw_resource *res) in vmw_cotable_unscrub()
206 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_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()
230 struct vmw_resource *
237 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 *
201 struct vmw_resource *res, in vmw_cmdbuf_res_add()
245 struct vmw_resource **res_p) in vmw_cmdbuf_res_remove()
Dvmwgfx_kms.h263 struct vmw_resource *res;
323 int vmw_kms_helper_resource_prepare(struct vmw_resource *res,
410 int vmw_kms_update_proxy(struct vmw_resource *res,
423 struct vmw_resource *srf,
453 struct vmw_resource *srf,
Dvmwgfx_binding.h71 struct vmw_resource *ctx;
72 struct vmw_resource *res;
Dvmwgfx_execbuf.c67 const struct vmw_resource *res;
94 struct vmw_resource *res;
125 struct vmw_resource *ctx);
165 struct vmw_resource *res = val->res; in vmw_resources_unreserve()
251 struct vmw_resource *res, in vmw_resource_val_add()
320 struct vmw_resource *view) in vmw_view_res_val_add()
351 struct vmw_resource *view; in vmw_view_id_val_add()
382 struct vmw_resource *ctx) in vmw_resource_context_res_add()
387 struct vmw_resource *res; in vmw_resource_context_res_add()
449 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.c209 const struct vmw_resource *res) in vmw_stdu_bind_st()
695 (struct vmw_resource *) &stdu->display_srf->res, in vmw_stdu_bo_cpu_commit()
917 struct vmw_resource *srf, in vmw_kms_stdu_surface_dirty()
Dvmwgfx_kms.c1207 struct vmw_resource *res; in vmw_create_bo_proxy()
2686 struct vmw_resource *res = ctx->res; in vmw_kms_helper_resource_revert()
2705 int vmw_kms_helper_resource_prepare(struct vmw_resource *res, in vmw_kms_helper_resource_prepare()
2761 struct vmw_resource *res = ctx->res; in vmw_kms_helper_resource_finish()
2786 int vmw_kms_update_proxy(struct vmw_resource *res, in vmw_kms_update_proxy()
Dvmwgfx_ioctl.c260 struct vmw_resource *res; in vmw_present_ioctl()
Dvmwgfx_overlay.c470 struct vmw_resource *res; in vmw_overlay_ioctl()
Dvmwgfx_scrn.c939 struct vmw_resource *srf, in vmw_kms_sou_do_surface_dirty()