/Linux-v4.19/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_resource_priv.h | 48 struct vmw_resource *(*base_obj_to_res)(struct ttm_base_object *base); 49 void (*res_free) (struct vmw_resource *res); 77 int (*create) (struct vmw_resource *res); 78 int (*destroy) (struct vmw_resource *res); 79 int (*bind) (struct vmw_resource *res, 81 int (*unbind) (struct vmw_resource *res, 84 void (*commit_notify)(struct vmw_resource *res, 102 int (*init)(struct vmw_resource *res, void *data); 103 void (*hw_destroy)(struct vmw_resource *res); 113 struct vmw_resource res; [all …]
|
D | vmwgfx_context.c | 36 struct vmw_resource res; 39 struct vmw_resource *cotables[SVGA_COTABLE_DX10_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_so.c | 62 struct vmw_resource res; 63 struct vmw_resource *ctx; /* Immutable */ 64 struct vmw_resource *srf; /* Immutable */ 65 struct vmw_resource *cotable; /* Immutable */ 75 static int vmw_view_create(struct vmw_resource *res); 76 static int vmw_view_destroy(struct vmw_resource *res); 77 static void vmw_hw_view_destroy(struct vmw_resource *res); 78 static void vmw_view_commit_notify(struct vmw_resource *res, 112 static struct vmw_view *vmw_view(struct vmw_resource *res) in vmw_view() 125 static void vmw_view_commit_notify(struct vmw_resource *res, in vmw_view_commit_notify() [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; 60 static void vmw_user_shader_free(struct vmw_resource *res); 61 static struct vmw_resource * 64 static int vmw_gb_shader_create(struct vmw_resource *res); 65 static int vmw_gb_shader_bind(struct vmw_resource *res, 67 static int vmw_gb_shader_unbind(struct vmw_resource *res, 70 static int vmw_gb_shader_destroy(struct vmw_resource *res); [all …]
|
D | vmwgfx_resource.c | 37 struct vmw_resource *vmw_resource_reference(struct vmw_resource *res) in vmw_resource_reference() 43 struct vmw_resource * 44 vmw_resource_reference_unless_doomed(struct vmw_resource *res) in vmw_resource_reference_unless_doomed() 56 void vmw_resource_release_id(struct vmw_resource *res) in vmw_resource_release_id() 70 struct vmw_resource *res = in vmw_resource_release() 71 container_of(kref, struct vmw_resource, kref); in vmw_resource_release() 117 void vmw_resource_unreference(struct vmw_resource **p_res) in vmw_resource_unreference() 119 struct vmw_resource *res = *p_res; in vmw_resource_unreference() 134 int vmw_resource_alloc_id(struct vmw_resource *res) in vmw_resource_alloc_id() 165 int vmw_resource_init(struct vmw_private *dev_priv, struct vmw_resource *res, in vmw_resource_init() [all …]
|
D | vmwgfx_drv.h | 94 struct vmw_resource *dx_query_ctx; 115 struct vmw_resource { struct 130 void (*res_free) (struct vmw_resource *res); argument 131 void (*hw_destroy) (struct vmw_resource *res); argument 168 struct vmw_resource res; 228 struct vmw_resource *res; 313 struct vmw_resource *last_query_ctx; 315 struct vmw_resource *error_resource; 321 struct vmw_resource *dx_query_ctx; 356 struct vmw_resource *context; [all …]
|
D | vmwgfx_cotable.c | 51 struct vmw_resource res; 52 struct vmw_resource *ctx; 107 static int vmw_cotable_bind(struct vmw_resource *res, 109 static int vmw_cotable_unbind(struct vmw_resource *res, 112 static int vmw_cotable_create(struct vmw_resource *res); 113 static int vmw_cotable_destroy(struct vmw_resource *res); 133 static struct vmw_cotable *vmw_cotable(struct vmw_resource *res) in vmw_cotable() 146 static int vmw_cotable_destroy(struct vmw_resource *res) in vmw_cotable_destroy() 161 static int vmw_cotable_unscrub(struct vmw_resource *res) in vmw_cotable_unscrub() 206 static int vmw_cotable_bind(struct vmw_resource *res, in vmw_cotable_bind() [all …]
|
D | vmwgfx_so.h | 138 struct vmw_resource *ctx, 139 struct vmw_resource *srf, 149 struct vmw_resource **res_p); 156 extern struct vmw_resource *vmw_view_srf(struct vmw_resource *res); 157 extern struct vmw_resource *vmw_view_lookup(struct vmw_cmdbuf_res_manager *man,
|
D | vmwgfx_simple_resource.c | 65 void (*res_free)(struct vmw_resource *res)) in vmw_simple_resource_init() 67 struct vmw_resource *res = &simple->res; in vmw_simple_resource_init() 96 static void vmw_simple_resource_free(struct vmw_resource *res) in vmw_simple_resource_free() 122 struct vmw_resource *res = &usimple->simple.res; in vmw_simple_resource_base_release() 149 struct vmw_resource *res; in vmw_simple_resource_create_ioctl() 150 struct vmw_resource *tmp; in vmw_simple_resource_create_ioctl() 230 struct vmw_resource * 237 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 | 71 static void vmw_user_surface_free(struct vmw_resource *res); 72 static struct vmw_resource * 74 static int vmw_legacy_srf_bind(struct vmw_resource *res, 76 static int vmw_legacy_srf_unbind(struct vmw_resource *res, 79 static int vmw_legacy_srf_create(struct vmw_resource *res); 80 static int vmw_legacy_srf_destroy(struct vmw_resource *res); 81 static int vmw_gb_surface_create(struct vmw_resource *res); 82 static int vmw_gb_surface_bind(struct vmw_resource *res, 84 static int vmw_gb_surface_unbind(struct vmw_resource *res, 87 static int vmw_gb_surface_destroy(struct vmw_resource *res); [all …]
|
D | vmwgfx_cmdbuf_res.c | 44 struct vmw_resource *res; 79 struct vmw_resource * 201 struct vmw_resource *res, in vmw_cmdbuf_res_add() 245 struct vmw_resource **res_p) in vmw_cmdbuf_res_remove()
|
D | vmwgfx_kms.h | 263 struct vmw_resource *res; 323 int vmw_kms_helper_resource_prepare(struct vmw_resource *res, 410 int vmw_kms_update_proxy(struct vmw_resource *res, 423 struct vmw_resource *srf, 453 struct vmw_resource *srf,
|
D | vmwgfx_binding.h | 71 struct vmw_resource *ctx; 72 struct vmw_resource *res;
|
D | vmwgfx_execbuf.c | 67 const struct vmw_resource *res; 94 struct vmw_resource *res; 125 struct vmw_resource *ctx); 165 struct vmw_resource *res = val->res; in vmw_resources_unreserve() 251 struct vmw_resource *res, in vmw_resource_val_add() 320 struct vmw_resource *view) in vmw_view_res_val_add() 351 struct vmw_resource *view; in vmw_view_id_val_add() 382 struct vmw_resource *ctx) in vmw_resource_context_res_add() 387 struct vmw_resource *res; in vmw_resource_context_res_add() 449 const struct vmw_resource *res, in vmw_resource_relocation_add() [all …]
|
D | vmwgfx_binding.c | 243 static const struct vmw_resource * 761 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_sr() 805 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_rt() 889 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_so() 1005 const struct vmw_resource *ctx = vmw_cbs_context(cbs); in vmw_emit_set_vb()
|
D | vmwgfx_stdu.c | 209 const struct vmw_resource *res) in vmw_stdu_bind_st() 695 (struct vmw_resource *) &stdu->display_srf->res, in vmw_stdu_bo_cpu_commit() 917 struct vmw_resource *srf, in vmw_kms_stdu_surface_dirty()
|
D | vmwgfx_kms.c | 1207 struct vmw_resource *res; in vmw_create_bo_proxy() 2686 struct vmw_resource *res = ctx->res; in vmw_kms_helper_resource_revert() 2705 int vmw_kms_helper_resource_prepare(struct vmw_resource *res, in vmw_kms_helper_resource_prepare() 2761 struct vmw_resource *res = ctx->res; in vmw_kms_helper_resource_finish() 2786 int vmw_kms_update_proxy(struct vmw_resource *res, in vmw_kms_update_proxy()
|
D | vmwgfx_ioctl.c | 260 struct vmw_resource *res; in vmw_present_ioctl()
|
D | vmwgfx_overlay.c | 470 struct vmw_resource *res; in vmw_overlay_ioctl()
|
D | vmwgfx_scrn.c | 939 struct vmw_resource *srf, in vmw_kms_sou_do_surface_dirty()
|