Home
last modified time | relevance | path

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

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource_priv.h40 struct vmw_resource *(*base_obj_to_res)(struct ttm_base_object *base);
41 void (*res_free) (struct vmw_resource *res);
67 int (*create) (struct vmw_resource *res);
68 int (*destroy) (struct vmw_resource *res);
69 int (*bind) (struct vmw_resource *res,
71 int (*unbind) (struct vmw_resource *res,
76 int vmw_resource_alloc_id(struct vmw_resource *res);
77 void vmw_resource_release_id(struct vmw_resource *res);
78 int vmw_resource_init(struct vmw_private *dev_priv, struct vmw_resource *res,
80 void (*res_free) (struct vmw_resource *res),
[all …]
Dvmwgfx_shader.c33 struct vmw_resource res;
46 static void vmw_user_shader_free(struct vmw_resource *res);
47 static struct vmw_resource *
50 static int vmw_gb_shader_create(struct vmw_resource *res);
51 static int vmw_gb_shader_bind(struct vmw_resource *res,
53 static int vmw_gb_shader_unbind(struct vmw_resource *res,
56 static int vmw_gb_shader_destroy(struct vmw_resource *res);
85 vmw_res_to_shader(struct vmw_resource *res) in vmw_res_to_shader()
90 static void vmw_hw_shader_destroy(struct vmw_resource *res) in vmw_hw_shader_destroy()
96 struct vmw_resource *res, in vmw_gb_shader_init()
[all …]
Dvmwgfx_drv.h106 struct vmw_resource { struct
120 void (*res_free) (struct vmw_resource *res); argument
121 void (*hw_destroy) (struct vmw_resource *res); argument
155 struct vmw_resource res;
210 struct vmw_resource *res;
286 struct vmw_resource *ctx;
287 struct vmw_resource *res;
349 struct vmw_resource *last_query_ctx;
351 struct vmw_resource *error_resource;
538 static inline struct vmw_surface *vmw_res_to_srf(struct vmw_resource *res) in vmw_res_to_srf()
[all …]
Dvmwgfx_resource.c48 struct vmw_resource res;
85 struct vmw_resource *vmw_resource_reference(struct vmw_resource *res) in vmw_resource_reference()
91 struct vmw_resource *
92 vmw_resource_reference_unless_doomed(struct vmw_resource *res) in vmw_resource_reference_unless_doomed()
104 void vmw_resource_release_id(struct vmw_resource *res) in vmw_resource_release_id()
118 struct vmw_resource *res = in vmw_resource_release()
119 container_of(kref, struct vmw_resource, kref); in vmw_resource_release()
164 void vmw_resource_unreference(struct vmw_resource **p_res) in vmw_resource_unreference()
166 struct vmw_resource *res = *p_res; in vmw_resource_unreference()
184 int vmw_resource_alloc_id(struct vmw_resource *res) in vmw_resource_alloc_id()
[all …]
Dvmwgfx_context.c34 struct vmw_resource res;
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);
105 static void vmw_hw_context_destroy(struct vmw_resource *res) in vmw_hw_context_destroy()
147 struct vmw_resource *res, in vmw_gb_context_init()
148 void (*res_free) (struct vmw_resource *res)) in vmw_gb_context_init()
[all …]
Dvmwgfx_surface.c62 static void vmw_user_surface_free(struct vmw_resource *res);
63 static struct vmw_resource *
65 static int vmw_legacy_srf_bind(struct vmw_resource *res,
67 static int vmw_legacy_srf_unbind(struct vmw_resource *res,
70 static int vmw_legacy_srf_create(struct vmw_resource *res);
71 static int vmw_legacy_srf_destroy(struct vmw_resource *res);
72 static int vmw_gb_surface_create(struct vmw_resource *res);
73 static int vmw_gb_surface_bind(struct vmw_resource *res,
75 static int vmw_gb_surface_unbind(struct vmw_resource *res,
78 static int vmw_gb_surface_destroy(struct vmw_resource *res);
[all …]
Dvmwgfx_cmdbuf_res.c49 struct vmw_resource *res;
84 struct vmw_resource *
203 struct vmw_resource *res, in vmw_cmdbuf_res_add()
Dvmwgfx_execbuf.c45 const struct vmw_resource *res;
68 struct vmw_resource *res;
108 struct vmw_resource *res = val->res; in vmw_resource_list_unreserve()
141 struct vmw_resource *res, in vmw_resource_val_add()
195 struct vmw_resource *ctx) in vmw_resource_context_res_add()
200 struct vmw_resource *res; in vmw_resource_context_res_add()
229 const struct vmw_resource *res, in vmw_resource_relocation_add()
376 struct vmw_resource *res = val->res; in vmw_resources_reserve()
411 struct vmw_resource *res = val->res; in vmw_resources_validate()
440 struct vmw_resource *res, in vmw_cmd_res_reloc_add()
[all …]
Dvmwgfx_ioctl.c231 struct vmw_resource *res; in vmw_present_ioctl()
Dvmwgfx_overlay.c470 struct vmw_resource *res; in vmw_overlay_ioctl()