Lines Matching refs:vmw_resource
172 struct vmw_resource { struct
189 void (*res_free) (struct vmw_resource *res); argument
190 void (*hw_destroy) (struct vmw_resource *res); argument
275 struct vmw_resource res;
307 struct vmw_resource *res;
432 struct vmw_resource *last_query_ctx;
440 struct vmw_resource *dx_query_ctx;
472 struct vmw_resource *context;
658 static inline struct vmw_surface *vmw_res_to_srf(struct vmw_resource *res) in vmw_res_to_srf()
794 extern void vmw_resource_unreference(struct vmw_resource **p_res);
795 extern struct vmw_resource *vmw_resource_reference(struct vmw_resource *res);
796 extern struct vmw_resource *
797 vmw_resource_reference_unless_doomed(struct vmw_resource *res);
798 extern int vmw_resource_validate(struct vmw_resource *res, bool intr,
800 extern int vmw_resource_reserve(struct vmw_resource *res, bool interruptible,
802 extern bool vmw_resource_needs_backup(const struct vmw_resource *res);
813 struct vmw_resource **p_res);
822 struct vmw_resource **out);
823 extern void vmw_resource_unreserve(struct vmw_resource *res,
835 void vmw_resource_mob_attach(struct vmw_resource *res);
836 void vmw_resource_mob_detach(struct vmw_resource *res);
837 void vmw_resource_dirty_update(struct vmw_resource *res, pgoff_t start,
848 static inline bool vmw_resource_mob_attached(const struct vmw_resource *res) in vmw_resource_mob_attached()
1090 extern int vmw_resource_pin(struct vmw_resource *res, bool interruptible);
1091 extern void vmw_resource_unpin(struct vmw_resource *res);
1092 extern enum vmw_res_type vmw_res_type(const struct vmw_resource *res);
1161 extern struct list_head *vmw_context_binding_list(struct vmw_resource *ctx);
1163 vmw_context_res_man(struct vmw_resource *ctx);
1164 extern struct vmw_resource *vmw_context_cotable(struct vmw_resource *ctx,
1168 vmw_context_binding_state(struct vmw_resource *ctx);
1169 extern void vmw_dx_context_scrub_cotables(struct vmw_resource *ctx,
1171 extern int vmw_context_bind_dx_query(struct vmw_resource *ctx_res,
1174 vmw_context_get_dx_query_mob(struct vmw_resource *ctx_res);
1224 struct vmw_resource *ctx,
1232 extern struct vmw_resource *
1239 struct vmw_resource *
1243 struct vmw_resource *ctx,
1246 void vmw_dx_streamoutput_set_size(struct vmw_resource *res, u32 size);
1261 extern struct vmw_resource *
1270 struct vmw_resource *res,
1276 struct vmw_resource **res);
1282 extern struct vmw_resource *vmw_cotable_alloc(struct vmw_private *dev_priv,
1283 struct vmw_resource *ctx,
1285 extern int vmw_cotable_notify(struct vmw_resource *res, int id);
1286 extern int vmw_cotable_scrub(struct vmw_resource *res, bool readback);
1287 extern void vmw_cotable_add_resource(struct vmw_resource *ctx,
1401 void vmw_bo_dirty_transfer_to_res(struct vmw_resource *res);
1402 void vmw_bo_dirty_clear_res(struct vmw_resource *res);
1425 struct vmw_resource *res = &tmp_srf->res; in vmw_surface_unreference()