Lines Matching refs:vmw_resource
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()
804 extern void vmw_resource_unreference(struct vmw_resource **p_res);
805 extern struct vmw_resource *vmw_resource_reference(struct vmw_resource *res);
806 extern struct vmw_resource *
807 vmw_resource_reference_unless_doomed(struct vmw_resource *res);
808 extern int vmw_resource_validate(struct vmw_resource *res, bool intr,
810 extern int vmw_resource_reserve(struct vmw_resource *res, bool interruptible,
812 extern bool vmw_resource_needs_backup(const struct vmw_resource *res);
823 struct vmw_resource **p_res);
824 extern struct vmw_resource *
837 struct vmw_resource **out);
838 extern void vmw_resource_unreserve(struct vmw_resource *res,
850 void vmw_resource_mob_attach(struct vmw_resource *res);
851 void vmw_resource_mob_detach(struct vmw_resource *res);
852 void vmw_resource_dirty_update(struct vmw_resource *res, pgoff_t start,
863 static inline bool vmw_resource_mob_attached(const struct vmw_resource *res) in vmw_resource_mob_attached()
1256 extern int vmw_resource_pin(struct vmw_resource *res, bool interruptible);
1257 extern void vmw_resource_unpin(struct vmw_resource *res);
1258 extern enum vmw_res_type vmw_res_type(const struct vmw_resource *res);
1327 extern struct list_head *vmw_context_binding_list(struct vmw_resource *ctx);
1329 vmw_context_res_man(struct vmw_resource *ctx);
1330 extern struct vmw_resource *vmw_context_cotable(struct vmw_resource *ctx,
1334 vmw_context_binding_state(struct vmw_resource *ctx);
1335 extern void vmw_dx_context_scrub_cotables(struct vmw_resource *ctx,
1337 extern int vmw_context_bind_dx_query(struct vmw_resource *ctx_res,
1340 vmw_context_get_dx_query_mob(struct vmw_resource *ctx_res);
1390 struct vmw_resource *ctx,
1398 extern struct vmw_resource *
1405 struct vmw_resource *
1409 struct vmw_resource *ctx,
1412 void vmw_dx_streamoutput_set_size(struct vmw_resource *res, u32 size);
1427 extern struct vmw_resource *
1436 struct vmw_resource *res,
1442 struct vmw_resource **res);
1448 extern struct vmw_resource *vmw_cotable_alloc(struct vmw_private *dev_priv,
1449 struct vmw_resource *ctx,
1451 extern int vmw_cotable_notify(struct vmw_resource *res, int id);
1452 extern int vmw_cotable_scrub(struct vmw_resource *res, bool readback);
1453 extern void vmw_cotable_add_resource(struct vmw_resource *ctx,
1566 void vmw_bo_dirty_transfer_to_res(struct vmw_resource *res);
1567 void vmw_bo_dirty_clear_res(struct vmw_resource *res);
1590 struct vmw_resource *res = &tmp_srf->res; in vmw_surface_unreference()