/netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
H A D | vmwgfx_resource_priv.h | 55 struct vmw_resource *(*base_obj_to_res)(struct ttm_base_object *base); 56 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 D | vmwgfx_context.c | 41 struct vmw_resource res; 44 struct vmw_resource *cotables[SVGA_COTABLE_DX10_MAX]; 49 static void vmw_user_context_free(struct vmw_resource *res); 50 static struct vmw_resource * 53 static int vmw_gb_context_create(struct vmw_resource *res); 54 static int vmw_gb_context_bind(struct vmw_resource *res, 56 static int vmw_gb_context_unbind(struct vmw_resource *res, 59 static int vmw_gb_context_destroy(struct vmw_resource *res); 60 static int vmw_dx_context_create(struct vmw_resource *res); 61 static int vmw_dx_context_bind(struct vmw_resource *res, [all …]
|
H A D | vmwgfx_resource.c | 45 void vmw_resource_mob_attach(struct vmw_resource *res) in vmw_resource_mob_attach() 58 struct vmw_resource *this = in vmw_resource_mob_attach() 59 container_of(*new, struct vmw_resource, mob_node); in vmw_resource_mob_attach() 78 void vmw_resource_mob_detach(struct vmw_resource *res) in vmw_resource_mob_detach() 91 struct vmw_resource *vmw_resource_reference(struct vmw_resource *res) in vmw_resource_reference() 97 struct vmw_resource * 98 vmw_resource_reference_unless_doomed(struct vmw_resource *res) in vmw_resource_reference_unless_doomed() 110 void vmw_resource_release_id(struct vmw_resource *res) in vmw_resource_release_id() 124 struct vmw_resource *res = in vmw_resource_release() 125 container_of(kref, struct vmw_resource, kref); in vmw_resource_release() [all …]
|
H A D | vmwgfx_so.c | 67 struct vmw_resource res; 68 struct vmw_resource *ctx; /* Immutable */ 69 struct vmw_resource *srf; /* Immutable */ 70 struct vmw_resource *cotable; /* Immutable */ 80 static int vmw_view_create(struct vmw_resource *res); 81 static int vmw_view_destroy(struct vmw_resource *res); 82 static void vmw_hw_view_destroy(struct vmw_resource *res); 83 static void vmw_view_commit_notify(struct vmw_resource *res, 117 static struct vmw_view *vmw_view(struct vmw_resource *res) in vmw_view() 130 static void vmw_view_commit_notify(struct vmw_resource *res, in vmw_view_commit_notify() [all …]
|
H A D | vmwgfx_shader.c | 40 struct vmw_resource res; 53 struct vmw_resource res; 54 struct vmw_resource *ctx; 55 struct vmw_resource *cotable; 65 static void vmw_user_shader_free(struct vmw_resource *res); 66 static struct vmw_resource * 69 static int vmw_gb_shader_create(struct vmw_resource *res); 70 static int vmw_gb_shader_bind(struct vmw_resource *res, 72 static int vmw_gb_shader_unbind(struct vmw_resource *res, 75 static int vmw_gb_shader_destroy(struct vmw_resource *res); [all …]
|
H A D | vmwgfx_drv.h | 126 struct vmw_resource *dx_query_ctx; 180 struct vmw_resource { struct 198 void (*res_free) (struct vmw_resource *res); argument 199 void (*hw_destroy) (struct vmw_resource *res); argument 236 struct vmw_resource res; 289 struct vmw_resource *res; 405 struct vmw_resource *last_query_ctx; 413 struct vmw_resource *dx_query_ctx; 445 struct vmw_resource *context; 646 static inline struct vmw_surface *vmw_res_to_srf(struct vmw_resource *res) in vmw_res_to_srf() [all …]
|
H A D | vmwgfx_cotable.c | 56 struct vmw_resource res; 57 struct vmw_resource *ctx; 112 static int vmw_cotable_bind(struct vmw_resource *res, 114 static int vmw_cotable_unbind(struct vmw_resource *res, 117 static int vmw_cotable_create(struct vmw_resource *res); 118 static int vmw_cotable_destroy(struct vmw_resource *res); 140 static struct vmw_cotable *vmw_cotable(struct vmw_resource *res) in vmw_cotable() 153 static int vmw_cotable_destroy(struct vmw_resource *res) in vmw_cotable_destroy() 168 static int vmw_cotable_unscrub(struct vmw_resource *res) in vmw_cotable_unscrub() 210 static int vmw_cotable_bind(struct vmw_resource *res, in vmw_cotable_bind() [all …]
|
H A D | vmwgfx_so.h | 140 struct vmw_resource *ctx, 141 struct vmw_resource *srf, 151 struct vmw_resource **res_p); 158 extern struct vmw_resource *vmw_view_srf(struct vmw_resource *res); 159 extern struct vmw_resource *vmw_view_lookup(struct vmw_cmdbuf_res_manager *man, 162 extern u32 vmw_view_dirtying(struct vmw_resource *res);
|
H A D | vmwgfx_simple_resource.c | 70 void (*res_free)(struct vmw_resource *res)) in vmw_simple_resource_init() 72 struct vmw_resource *res = &simple->res; in vmw_simple_resource_init() 101 static void vmw_simple_resource_free(struct vmw_resource *res) in vmw_simple_resource_free() 127 struct vmw_resource *res = &usimple->simple.res; in vmw_simple_resource_base_release() 154 struct vmw_resource *res; in vmw_simple_resource_create_ioctl() 155 struct vmw_resource *tmp; in vmw_simple_resource_create_ioctl() 236 struct vmw_resource * 243 struct vmw_resource *res; in vmw_simple_resource_lookup()
|
H A D | vmwgfx_surface.c | 90 static void vmw_user_surface_free(struct vmw_resource *res); 91 static struct vmw_resource * 93 static int vmw_legacy_srf_bind(struct vmw_resource *res, 95 static int vmw_legacy_srf_unbind(struct vmw_resource *res, 98 static int vmw_legacy_srf_create(struct vmw_resource *res); 99 static int vmw_legacy_srf_destroy(struct vmw_resource *res); 100 static int vmw_gb_surface_create(struct vmw_resource *res); 101 static int vmw_gb_surface_bind(struct vmw_resource *res, 103 static int vmw_gb_surface_unbind(struct vmw_resource *res, 106 static int vmw_gb_surface_destroy(struct vmw_resource *res); [all …]
|
H A D | vmwgfx_va.c | 53 vmw_stream(struct vmw_resource *res) in vmw_stream() 61 static void vmw_stream_hw_destroy(struct vmw_resource *res) in vmw_stream_hw_destroy() 71 static int vmw_stream_init(struct vmw_resource *res, void *data) in vmw_stream_init() 159 uint32_t *inout_id, struct vmw_resource **out) in vmw_user_stream_lookup() 162 struct vmw_resource *res = in vmw_user_stream_lookup()
|
H A D | vmwgfx_execbuf.c | 111 const struct vmw_resource *res; 126 struct vmw_resource *ctx; 153 struct vmw_resource *ctx); 219 struct vmw_resource *res, in vmw_cmd_ctx_first_setup() 288 struct vmw_resource *res, in vmw_execbuf_rcache_update() 309 struct vmw_resource *res, in vmw_execbuf_res_noref_val_add() 361 struct vmw_resource *res, in vmw_execbuf_res_noctx_val_add() 397 struct vmw_resource *view) in vmw_view_res_val_add() 429 static struct vmw_resource * 434 struct vmw_resource *view; in vmw_view_id_val_add() [all …]
|
H A D | vmwgfx_cmdbuf_res.c | 49 struct vmw_resource *res; 84 struct vmw_resource * 205 struct vmw_resource *res, in vmw_cmdbuf_res_add() 251 struct vmw_resource **res_p) in vmw_cmdbuf_res_remove()
|
H A D | vmwgfx_binding.h | 74 struct vmw_resource *ctx; 75 struct vmw_resource *res;
|
H A D | vmwgfx_kms.h | 378 struct vmw_resource *res; 504 int vmw_kms_update_proxy(struct vmw_resource *res, 517 struct vmw_resource *srf, 547 struct vmw_resource *srf,
|
H A D | vmwgfx_validation.c | 80 struct vmw_resource *res; 220 struct vmw_resource *res) in vmw_validation_find_res_dup() 319 struct vmw_resource *res, in vmw_validation_add_resource() 454 struct vmw_resource *res = val->res; in vmw_validation_res_reserve() 649 struct vmw_resource *res = val->res; in vmw_validation_res_validate()
|
H A D | vmwgfx_validation.h | 94 struct vmw_resource; 231 struct vmw_resource *res,
|
H A D | vmwgfx_binding.c | 248 static const struct vmw_resource * 752 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_sr() 793 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_rt() 874 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_so() 987 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_vb()
|
H A D | vmwgfx_page_dirty.c | 330 void vmw_bo_dirty_transfer_to_res(struct vmw_resource *res) in vmw_bo_dirty_transfer_to_res() 375 void vmw_bo_dirty_clear_res(struct vmw_resource *res) in vmw_bo_dirty_clear_res()
|
H A D | vmwgfx_ioctl.c | 265 struct vmw_resource *res; in vmw_present_ioctl()
|
H A D | vmwgfx_overlay.c | 475 struct vmw_resource *res; in vmw_overlay_ioctl()
|
H A D | vmwgfx_stdu.c | 218 const struct vmw_resource *res) in vmw_stdu_bind_st() 857 struct vmw_resource *srf, in vmw_kms_stdu_surface_dirty()
|
H A D | vmwgfx_kms.c | 1154 struct vmw_resource *res; in vmw_create_bo_proxy() 2599 int vmw_kms_update_proxy(struct vmw_resource *res, in vmw_kms_update_proxy()
|
H A D | vmwgfx_scrn.c | 1134 struct vmw_resource *srf, in vmw_kms_sou_do_surface_dirty()
|