Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_resource_priv.h53 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 *res);
104 int (*dirty_sync)(struct vmw_resource *res);
[all …]
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) in vmw_res_to_dx_streamoutput()
90 static int vmw_dx_streamoutput_unscrub(struct vmw_resource *res) in vmw_dx_streamoutput_unscrub()
119 static int vmw_dx_streamoutput_create(struct vmw_resource *res) in vmw_dx_streamoutput_create()
[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 *res);
[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 *res,
[all …]
H A Dvmwgfx_so.c64 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,
115 static struct vmw_view *vmw_view(struct vmw_resource *res) in vmw_view()
128 static void vmw_view_commit_notify(struct vmw_resource *res, in vmw_view_commit_notify()
[all …]
H A Dvmwgfx_resource.c42 void vmw_resource_mob_attach(struct vmw_resource *res) in vmw_resource_mob_attach()
52 struct vmw_resource *this = in vmw_resource_mob_attach()
53 container_of(*new, struct vmw_resource, mob_node); in vmw_resource_mob_attach()
71 void vmw_resource_mob_detach(struct vmw_resource *res) in vmw_resource_mob_detach()
83 struct vmw_resource *vmw_resource_reference(struct vmw_resource *res) in vmw_resource_reference()
89 struct vmw_resource *
90 vmw_resource_reference_unless_doomed(struct vmw_resource *res) in vmw_resource_reference_unless_doomed()
102 void vmw_resource_release_id(struct vmw_resource *res) in vmw_resource_release_id()
116 struct vmw_resource *res = in vmw_resource_release()
117 container_of(kref, struct vmw_resource, kref); in vmw_resource_release()
[all …]
H A Dvmwgfx_drv.h155 struct vmw_resource { struct
172 void (*res_free) (struct vmw_resource *res); argument
173 void (*hw_destroy) (struct vmw_resource *res); argument
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) in vmw_res_to_srf()
790 extern void vmw_resource_unreference(struct vmw_resource **p_res);
[all …]
H A Dvmwgfx_cotable.c53 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);
153 static struct vmw_cotable *vmw_cotable(struct vmw_resource *res) in vmw_cotable()
166 static int vmw_cotable_destroy(struct vmw_resource *res) in vmw_cotable_destroy()
181 static int vmw_cotable_unscrub(struct vmw_resource *res) in vmw_cotable_unscrub()
223 static int vmw_cotable_bind(struct vmw_resource *res, in vmw_cotable_bind()
[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_simple_resource.c63 void (*res_free)(struct vmw_resource *res)) in vmw_simple_resource_init()
65 struct vmw_resource *res = &simple->res; in vmw_simple_resource_init()
94 static void vmw_simple_resource_free(struct vmw_resource *res) in vmw_simple_resource_free()
117 struct vmw_resource *res = &usimple->simple.res; in vmw_simple_resource_base_release()
144 struct vmw_resource *res; in vmw_simple_resource_create_ioctl()
145 struct vmw_resource *tmp; in vmw_simple_resource_create_ioctl()
201 struct vmw_resource *
208 struct vmw_resource *res; in vmw_simple_resource_lookup()
H A Dvmwgfx_va.c49 vmw_stream(struct vmw_resource *res) in vmw_stream()
57 static void vmw_stream_hw_destroy(struct vmw_resource *res) in vmw_stream_hw_destroy()
67 static int vmw_stream_init(struct vmw_resource *res, void *data) in vmw_stream_init()
156 uint32_t *inout_id, struct vmw_resource **out) in vmw_user_stream_lookup()
159 struct vmw_resource *res = in vmw_user_stream_lookup()
H A Dvmwgfx_surface.c80 static void vmw_user_surface_free(struct vmw_resource *res);
81 static struct vmw_resource *
83 static int vmw_legacy_srf_bind(struct vmw_resource *res,
85 static int vmw_legacy_srf_unbind(struct vmw_resource *res,
88 static int vmw_legacy_srf_create(struct vmw_resource *res);
89 static int vmw_legacy_srf_destroy(struct vmw_resource *res);
90 static int vmw_gb_surface_create(struct vmw_resource *res);
91 static int vmw_gb_surface_bind(struct vmw_resource *res,
93 static int vmw_gb_surface_unbind(struct vmw_resource *res,
96 static int vmw_gb_surface_destroy(struct vmw_resource *res);
[all …]
H A Dvmwgfx_bo.h44 struct vmw_resource;
98 struct vmw_resource *dx_query_ctx;
144 void vmw_bo_add_detached_resource(struct vmw_bo *vbo, struct vmw_resource *res);
145 void vmw_bo_del_detached_resource(struct vmw_bo *vbo, struct vmw_resource *res);
H A Dvmwgfx_cmdbuf_res.c46 struct vmw_resource *res;
81 struct vmw_resource *
198 struct vmw_resource *res, in vmw_cmdbuf_res_add()
238 struct vmw_resource **res_p) in vmw_cmdbuf_res_remove()
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_validation.c75 struct vmw_resource *res;
200 struct vmw_resource *res) in vmw_validation_find_res_dup()
287 struct vmw_resource *res, in vmw_validation_add_resource()
416 struct vmw_resource *res = val->res; in vmw_validation_res_reserve()
588 struct vmw_resource *res = val->res; in vmw_validation_res_validate()
H A Dvmwgfx_bo.c37 struct vmw_resource *res; in vmw_bo_release()
851 void vmw_bo_add_detached_resource(struct vmw_bo *vbo, struct vmw_resource *res) in vmw_bo_add_detached_resource()
856 void vmw_bo_del_detached_resource(struct vmw_bo *vbo, struct vmw_resource *res) in vmw_bo_del_detached_resource()
864 struct vmw_resource *res = NULL; in vmw_bo_surface()
880 res = rb_entry(rb_itr, struct vmw_resource, mob_node); in vmw_bo_surface()
H A Dvmwgfx_kms.h504 int vmw_kms_update_proxy(struct vmw_resource *res,
517 struct vmw_resource *srf,
547 struct vmw_resource *srf,
H A Dvmwgfx_page_dirty.c307 void vmw_bo_dirty_transfer_to_res(struct vmw_resource *res) in vmw_bo_dirty_transfer_to_res()
352 void vmw_bo_dirty_clear_res(struct vmw_resource *res) in vmw_bo_dirty_clear_res()
H A Dvmwgfx_stdu.c221 const struct vmw_resource *res) in vmw_stdu_bind_st()
726 struct vmw_resource *srf, in vmw_kms_stdu_surface_dirty()
1102 struct vmw_resource *res = &surf->res; in vmw_stdu_primary_plane_prepare_fb()
H A Dvmwgfx_overlay.c431 struct vmw_resource *res; in vmw_overlay_ioctl()
H A Dvmwgfx_scrn.c1097 struct vmw_resource *srf, in vmw_kms_sou_do_surface_dirty()