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_drv.h135 struct vmw_resource { struct
152 void (*res_free) (struct vmw_resource *res); argument
153 void (*hw_destroy) (struct vmw_resource *res); argument
238 struct vmw_resource res;
270 struct vmw_resource *res;
405 struct vmw_resource *last_query_ctx;
413 struct vmw_resource *dx_query_ctx;
436 struct vmw_resource *context;
624 static inline struct vmw_surface *vmw_res_to_srf(struct vmw_resource *res) in vmw_res_to_srf()
780 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.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 …]
H A Dvmwgfx_execbuf.c87 const struct vmw_resource *res;
102 struct vmw_resource *ctx;
131 struct vmw_resource *ctx);
198 struct vmw_resource *res, in vmw_cmd_ctx_first_setup()
267 struct vmw_resource *res, in vmw_execbuf_rcache_update()
293 struct vmw_resource *res, in vmw_execbuf_res_val_add()
351 struct vmw_resource *view) in vmw_view_res_val_add()
383 static struct vmw_resource *
388 struct vmw_resource *view; in vmw_view_id_val_add()
418 struct vmw_resource *ctx) in vmw_resource_context_res_add()
[all …]
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()
286 struct vmw_resource *res, in vmw_validation_add_resource()
417 struct vmw_resource *res = val->res; in vmw_validation_res_reserve()
589 struct vmw_resource *res = val->res; in vmw_validation_res_validate()
H A Dvmwgfx_kms.h442 int vmw_kms_update_proxy(struct vmw_resource *res,
455 struct vmw_resource *srf,
485 struct vmw_resource *srf,
H A Dvmwgfx_bo.c42 struct vmw_resource *res; in vmw_bo_free()
847 int vmw_bo_add_detached_resource(struct vmw_bo *vbo, struct vmw_resource *res) in vmw_bo_add_detached_resource()
852 void vmw_bo_del_detached_resource(struct vmw_bo *vbo, struct vmw_resource *res) in vmw_bo_del_detached_resource()
860 struct vmw_resource *res = NULL; in vmw_bo_surface()
876 res = rb_entry(rb_itr, struct vmw_resource, mob_node); in vmw_bo_surface()
H A Dvmwgfx_page_dirty.c298 void vmw_bo_dirty_transfer_to_res(struct vmw_resource *res) in vmw_bo_dirty_transfer_to_res()
378 void vmw_bo_dirty_clear_res(struct vmw_resource *res) in vmw_bo_dirty_clear_res()
H A Dvmwgfx_ioctl.c183 struct vmw_resource *res; in vmw_present_ioctl()
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()