/linux-5.19.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_resource_priv.h | 53 struct vmw_resource *(*base_obj_to_res)(struct ttm_base_object *base); 54 void (*res_free) (struct vmw_resource *res); 91 int (*create) (struct vmw_resource *res); 92 int (*destroy) (struct vmw_resource *res); 93 int (*bind) (struct vmw_resource *res, 95 int (*unbind) (struct vmw_resource *res, 98 void (*commit_notify)(struct vmw_resource *res, 100 int (*dirty_alloc)(struct vmw_resource *res); 101 void (*dirty_free)(struct vmw_resource *res); 102 int (*dirty_sync)(struct vmw_resource *res); [all …]
|
D | vmwgfx_streamoutput.c | 46 struct vmw_resource res; 47 struct vmw_resource *ctx; 48 struct vmw_resource *cotable; 55 static int vmw_dx_streamoutput_create(struct vmw_resource *res); 56 static int vmw_dx_streamoutput_bind(struct vmw_resource *res, 58 static int vmw_dx_streamoutput_unbind(struct vmw_resource *res, bool readback, 60 static void vmw_dx_streamoutput_commit_notify(struct vmw_resource *res, 77 vmw_res_to_dx_streamoutput(struct vmw_resource *res) in vmw_res_to_dx_streamoutput() 88 static int vmw_dx_streamoutput_unscrub(struct vmw_resource *res) in vmw_dx_streamoutput_unscrub() 117 static int vmw_dx_streamoutput_create(struct vmw_resource *res) in vmw_dx_streamoutput_create() [all …]
|
D | vmwgfx_shader.c | 35 struct vmw_resource res; 48 struct vmw_resource res; 49 struct vmw_resource *ctx; 50 struct vmw_resource *cotable; 56 static void vmw_user_shader_free(struct vmw_resource *res); 57 static struct vmw_resource * 60 static int vmw_gb_shader_create(struct vmw_resource *res); 61 static int vmw_gb_shader_bind(struct vmw_resource *res, 63 static int vmw_gb_shader_unbind(struct vmw_resource *res, 66 static int vmw_gb_shader_destroy(struct vmw_resource *res); [all …]
|
D | vmwgfx_so.c | 63 struct vmw_resource res; 64 struct vmw_resource *ctx; /* Immutable */ 65 struct vmw_resource *srf; /* Immutable */ 66 struct vmw_resource *cotable; /* Immutable */ 76 static int vmw_view_create(struct vmw_resource *res); 77 static int vmw_view_destroy(struct vmw_resource *res); 78 static void vmw_hw_view_destroy(struct vmw_resource *res); 79 static void vmw_view_commit_notify(struct vmw_resource *res, 113 static struct vmw_view *vmw_view(struct vmw_resource *res) in vmw_view() 126 static void vmw_view_commit_notify(struct vmw_resource *res, in vmw_view_commit_notify() [all …]
|
D | vmwgfx_context.c | 36 struct vmw_resource res; 39 struct vmw_resource *cotables[SVGA_COTABLE_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 …]
|
D | vmwgfx_resource.c | 40 void vmw_resource_mob_attach(struct vmw_resource *res) in vmw_resource_mob_attach() 50 struct vmw_resource *this = in vmw_resource_mob_attach() 51 container_of(*new, struct vmw_resource, mob_node); in vmw_resource_mob_attach() 68 void vmw_resource_mob_detach(struct vmw_resource *res) in vmw_resource_mob_detach() 80 struct vmw_resource *vmw_resource_reference(struct vmw_resource *res) in vmw_resource_reference() 86 struct vmw_resource * 87 vmw_resource_reference_unless_doomed(struct vmw_resource *res) in vmw_resource_reference_unless_doomed() 99 void vmw_resource_release_id(struct vmw_resource *res) in vmw_resource_release_id() 113 struct vmw_resource *res = in vmw_resource_release() 114 container_of(kref, struct vmw_resource, kref); in vmw_resource_release() [all …]
|
D | vmwgfx_drv.h | 125 struct vmw_resource *dx_query_ctx; 179 struct vmw_resource { struct 196 void (*res_free) (struct vmw_resource *res); argument 197 void (*hw_destroy) (struct vmw_resource *res); argument 282 struct vmw_resource res; 314 struct vmw_resource *res; 440 struct vmw_resource *last_query_ctx; 448 struct vmw_resource *dx_query_ctx; 480 struct vmw_resource *context; 674 static inline struct vmw_surface *vmw_res_to_srf(struct vmw_resource *res) in vmw_res_to_srf() [all …]
|
D | vmwgfx_cotable.c | 51 struct vmw_resource res; 52 struct vmw_resource *ctx; 110 static int vmw_cotable_bind(struct vmw_resource *res, 112 static int vmw_cotable_unbind(struct vmw_resource *res, 115 static int vmw_cotable_create(struct vmw_resource *res); 116 static int vmw_cotable_destroy(struct vmw_resource *res); 138 static struct vmw_cotable *vmw_cotable(struct vmw_resource *res) in vmw_cotable() 151 static int vmw_cotable_destroy(struct vmw_resource *res) in vmw_cotable_destroy() 166 static int vmw_cotable_unscrub(struct vmw_resource *res) in vmw_cotable_unscrub() 208 static int vmw_cotable_bind(struct vmw_resource *res, in vmw_cotable_bind() [all …]
|
D | vmwgfx_so.h | 149 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);
|
D | vmwgfx_simple_resource.c | 63 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()
|
D | vmwgfx_va.c | 48 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()
|
D | vmwgfx_surface.c | 82 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 *res); [all …]
|
D | vmwgfx_execbuf.c | 104 const struct vmw_resource *res; 119 struct vmw_resource *ctx; 148 struct vmw_resource *ctx); 215 struct vmw_resource *res, in vmw_cmd_ctx_first_setup() 284 struct vmw_resource *res, in vmw_execbuf_rcache_update() 305 struct vmw_resource *res, in vmw_execbuf_res_noref_val_add() 357 struct vmw_resource *res, in vmw_execbuf_res_noctx_val_add() 393 struct vmw_resource *view) in vmw_view_res_val_add() 425 static struct vmw_resource * 430 struct vmw_resource *view; in vmw_view_id_val_add() [all …]
|
D | vmwgfx_cmdbuf_res.c | 44 struct vmw_resource *res; 79 struct vmw_resource * 198 struct vmw_resource *res, in vmw_cmdbuf_res_add() 244 struct vmw_resource **res_p) in vmw_cmdbuf_res_remove()
|
D | vmwgfx_binding.h | 77 struct vmw_resource *ctx; 78 struct vmw_resource *res;
|
D | vmwgfx_validation.h | 78 struct vmw_resource; 184 struct vmw_resource *res,
|
D | vmwgfx_kms.h | 394 struct vmw_resource *res; 524 int vmw_kms_update_proxy(struct vmw_resource *res, 537 struct vmw_resource *srf, 567 struct vmw_resource *srf,
|
D | vmwgfx_validation.c | 79 struct vmw_resource *res; 213 struct vmw_resource *res) in vmw_validation_find_res_dup() 312 struct vmw_resource *res, in vmw_validation_add_resource() 447 struct vmw_resource *res = val->res; in vmw_validation_res_reserve() 642 struct vmw_resource *res = val->res; in vmw_validation_res_validate()
|
D | vmwgfx_binding.c | 283 static const struct vmw_resource * 825 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_sr() 866 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_rt() 945 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_so_target() 1058 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_vb() 1092 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_uav() 1122 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_cs_uav()
|
D | vmwgfx_page_dirty.c | 307 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()
|
D | vmwgfx_ioctl.c | 182 struct vmw_resource *res; in vmw_present_ioctl()
|
D | vmwgfx_overlay.c | 437 struct vmw_resource *res; in vmw_overlay_ioctl()
|
D | vmwgfx_stdu.c | 222 const struct vmw_resource *res) in vmw_stdu_bind_st() 862 struct vmw_resource *srf, in vmw_kms_stdu_surface_dirty()
|
D | vmwgfx_kms.c | 1428 struct vmw_resource *res; in vmw_create_bo_proxy() 2786 int vmw_kms_update_proxy(struct vmw_resource *res, in vmw_kms_update_proxy()
|
D | vmwgfx_scrn.c | 1124 struct vmw_resource *srf, in vmw_kms_sou_do_surface_dirty()
|