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

12

/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_resource_priv.h49 * a struct vmw_resource
53 struct vmw_resource *(*base_obj_to_res)(struct ttm_base_object *base);
54 void (*res_free) (struct vmw_resource *res);
93 int (*create) (struct vmw_resource *res);
94 int (*destroy) (struct vmw_resource *res);
95 int (*bind) (struct vmw_resource *res,
97 int (*unbind) (struct vmw_resource *res,
100 void (*commit_notify)(struct vmw_resource *res,
102 int (*dirty_alloc)(struct vmw_resource *res);
103 void (*dirty_free)(struct vmw_resource *re
[all...]
H A Dvmwgfx_so.h149 struct vmw_resource *ctx,
150 struct vmw_resource *srf,
160 struct vmw_resource **res_p);
167 extern struct vmw_resource *vmw_view_srf(struct vmw_resource *res);
168 extern struct vmw_resource *vmw_view_lookup(struct vmw_cmdbuf_res_manager *man,
171 extern u32 vmw_view_dirtying(struct vmw_resource *res);
H A Dvmwgfx_streamoutput.c47 struct vmw_resource res;
48 struct vmw_resource *ctx;
49 struct vmw_resource *cotable;
56 static int vmw_dx_streamoutput_create(struct vmw_resource *res);
57 static int vmw_dx_streamoutput_bind(struct vmw_resource *res,
59 static int vmw_dx_streamoutput_unbind(struct vmw_resource *res, bool readback,
61 static void vmw_dx_streamoutput_commit_notify(struct vmw_resource *res,
79 vmw_res_to_dx_streamoutput(struct vmw_resource *res)
90 static int vmw_dx_streamoutput_unscrub(struct vmw_resource *res)
119 static int vmw_dx_streamoutput_create(struct vmw_resource *re
[all...]
H A Dvmwgfx_simple_resource.c63 void (*res_free)(struct vmw_resource *res))
65 struct vmw_resource *res = &simple->res;
90 * @res: The struct vmw_resource member of the simple resource object.
94 static void vmw_simple_resource_free(struct vmw_resource *res)
110 * references to the embedded struct vmw_resource.
117 struct vmw_resource *res = &usimple->simple.res;
144 struct vmw_resource *res;
145 struct vmw_resource *tmp;
198 * Returns: Refcounted pointer to the embedded struct vmw_resource if
201 struct vmw_resource *
[all...]
H A Dvmwgfx_so.c47 * @res: The struct vmw_resource we derive from
64 struct vmw_resource res;
65 struct vmw_resource *ctx; /* Immutable */
66 struct vmw_resource *srf; /* Immutable */
67 struct vmw_resource *cotable; /* Immutable */
77 static int vmw_view_create(struct vmw_resource *res);
78 static int vmw_view_destroy(struct vmw_resource *res);
79 static void vmw_hw_view_destroy(struct vmw_resource *res);
80 static void vmw_view_commit_notify(struct vmw_resource *res,
109 * vmw_view - Convert a struct vmw_resource t
[all...]
H A Dvmwgfx_va.c43 * vmw_stream - Typecast a struct vmw_resource to a struct vmw_stream.
44 * @res: Pointer to the struct vmw_resource.
49 vmw_stream(struct vmw_resource *res)
57 static void vmw_stream_hw_destroy(struct vmw_resource *res)
67 static int vmw_stream_init(struct vmw_resource *res, void *data)
148 * struct vmw_resource.
156 uint32_t *inout_id, struct vmw_resource **out)
159 struct vmw_resource *res =
H A Dvmwgfx_drv.h155 struct vmw_resource { struct
172 void (*res_free) (struct vmw_resource *res);
173 void (*hw_destroy) (struct vmw_resource *res);
258 struct vmw_resource res;
290 struct vmw_resource *res;
415 struct vmw_resource *last_query_ctx;
423 struct vmw_resource *dx_query_ctx;
446 struct vmw_resource *context;
634 static inline struct vmw_surface *vmw_res_to_srf(struct vmw_resource *res)
770 extern void vmw_resource_unreference(struct vmw_resource **p_re
[all...]
H A Dvmwgfx_cotable.c44 * @res: struct vmw_resource we are deriving from.
53 struct vmw_resource res;
54 struct vmw_resource *ctx;
124 static int vmw_cotable_bind(struct vmw_resource *res,
126 static int vmw_cotable_unbind(struct vmw_resource *res,
129 static int vmw_cotable_create(struct vmw_resource *res);
130 static int vmw_cotable_destroy(struct vmw_resource *res);
148 * vmw_cotable - Convert a struct vmw_resource pointer to a struct
153 static struct vmw_cotable *vmw_cotable(struct vmw_resource *res)
166 static int vmw_cotable_destroy(struct vmw_resource *re
[all...]
H A Dvmwgfx_resource.c41 void vmw_resource_mob_attach(struct vmw_resource *res)
51 struct vmw_resource *this =
52 container_of(*new, struct vmw_resource, mob_node);
69 void vmw_resource_mob_detach(struct vmw_resource *res)
81 struct vmw_resource *vmw_resource_reference(struct vmw_resource *res)
87 struct vmw_resource *
88 vmw_resource_reference_unless_doomed(struct vmw_resource *res)
100 void vmw_resource_release_id(struct vmw_resource *res)
114 struct vmw_resource *re
[all...]
H A Dvmwgfx_shader.c36 struct vmw_resource res;
49 struct vmw_resource res;
50 struct vmw_resource *ctx;
51 struct vmw_resource *cotable;
57 static void vmw_user_shader_free(struct vmw_resource *res);
58 static struct vmw_resource *
61 static int vmw_gb_shader_create(struct vmw_resource *res);
62 static int vmw_gb_shader_bind(struct vmw_resource *res,
64 static int vmw_gb_shader_unbind(struct vmw_resource *res,
67 static int vmw_gb_shader_destroy(struct vmw_resource *re
[all...]
H A Dvmwgfx_context.c37 struct vmw_resource res;
40 struct vmw_resource *cotables[SVGA_COTABLE_MAX];
45 static void vmw_user_context_free(struct vmw_resource *res);
46 static struct vmw_resource *
49 static int vmw_gb_context_create(struct vmw_resource *res);
50 static int vmw_gb_context_bind(struct vmw_resource *res,
52 static int vmw_gb_context_unbind(struct vmw_resource *res,
55 static int vmw_gb_context_destroy(struct vmw_resource *res);
56 static int vmw_dx_context_create(struct vmw_resource *res);
57 static int vmw_dx_context_bind(struct vmw_resource *re
[all...]
H A Dvmwgfx_cmdbuf_res.c38 * @res: Refcounted pointer to a struct vmw_resource.
46 struct vmw_resource *res;
78 * Returns a valid refcounted struct vmw_resource pointer on success,
81 struct vmw_resource *
103 * struct vmw_resource.
188 * @res: Valid (refcount != 0) pointer to a struct vmw_resource.
198 struct vmw_resource *res,
226 * struct vmw_resource on successful return. The pointer will be
238 struct vmw_resource **res_p)
H A Dvmwgfx_surface.c82 static void vmw_user_surface_free(struct vmw_resource *res);
83 static struct vmw_resource *
85 static int vmw_legacy_srf_bind(struct vmw_resource *res,
87 static int vmw_legacy_srf_unbind(struct vmw_resource *res,
90 static int vmw_legacy_srf_create(struct vmw_resource *res);
91 static int vmw_legacy_srf_destroy(struct vmw_resource *res);
92 static int vmw_gb_surface_create(struct vmw_resource *res);
93 static int vmw_gb_surface_bind(struct vmw_resource *res,
95 static int vmw_gb_surface_unbind(struct vmw_resource *res,
98 static int vmw_gb_surface_destroy(struct vmw_resource *re
[all...]
H A Dvmwgfx_binding.h77 struct vmw_resource *ctx;
78 struct vmw_resource *res;
H A Dvmwgfx_validation.h70 struct vmw_resource;
159 struct vmw_resource *res,
H A Dvmwgfx_bo.h42 struct vmw_resource;
91 struct vmw_resource *dx_query_ctx;
H A Dvmwgfx_execbuf.c105 const struct vmw_resource *res;
120 struct vmw_resource *ctx;
149 struct vmw_resource *ctx);
216 struct vmw_resource *res,
285 struct vmw_resource *res,
311 struct vmw_resource *res,
369 struct vmw_resource *view)
401 static struct vmw_resource *
406 struct vmw_resource *view;
436 struct vmw_resource *ct
[all...]
H A Dvmwgfx_validation.c75 struct vmw_resource *res;
200 struct vmw_resource *res)
287 struct vmw_resource *res,
416 struct vmw_resource *res = val->res;
588 struct vmw_resource *res = val->res;
H A Dvmwgfx_kms.h512 int vmw_kms_update_proxy(struct vmw_resource *res,
525 struct vmw_resource *srf,
555 struct vmw_resource *srf,
H A Dvmwgfx_binding.c284 static const struct vmw_resource *
826 const struct vmw_resource *ctx = vmw_cbs_context(cbs);
867 const struct vmw_resource *ctx = vmw_cbs_context(cbs);
946 const struct vmw_resource *ctx = vmw_cbs_context(cbs);
1059 const struct vmw_resource *ctx = vmw_cbs_context(cbs);
1093 const struct vmw_resource *ctx = vmw_cbs_context(cbs);
1123 const struct vmw_resource *ctx = vmw_cbs_context(cbs);
H A Dvmwgfx_page_dirty.c307 void vmw_bo_dirty_transfer_to_res(struct vmw_resource *res)
352 void vmw_bo_dirty_clear_res(struct vmw_resource *res)
H A Dvmwgfx_ioctl.c183 struct vmw_resource *res;
H A Dvmwgfx_overlay.c431 struct vmw_resource *res;
H A Dvmwgfx_stdu.c217 const struct vmw_resource *res)
712 struct vmw_resource *srf,
H A Dvmwgfx_kms.c1432 struct vmw_resource *res;
2602 int vmw_kms_update_proxy(struct vmw_resource *res,

Completed in 339 milliseconds

12