4 struct radeon_bo_manager
{
5 const struct radeon_bo_funcs
*funcs
;
18 struct radeon_bo_manager
*bom
;
19 uint32_t space_accounted
;
20 uint32_t referenced_in_cs
;
24 struct radeon_bo_funcs
{
25 struct radeon_bo
*(*bo_open
)(struct radeon_bo_manager
*bom
,
31 void (*bo_ref
)(struct radeon_bo_int
*bo
);
32 struct radeon_bo
*(*bo_unref
)(struct radeon_bo_int
*bo
);
33 int (*bo_map
)(struct radeon_bo_int
*bo
, int write
);
34 int (*bo_unmap
)(struct radeon_bo_int
*bo
);
35 int (*bo_wait
)(struct radeon_bo_int
*bo
);
36 int (*bo_is_static
)(struct radeon_bo_int
*bo
);
37 int (*bo_set_tiling
)(struct radeon_bo_int
*bo
, uint32_t tiling_flags
,
39 int (*bo_get_tiling
)(struct radeon_bo_int
*bo
, uint32_t *tiling_flags
,
41 int (*bo_is_busy
)(struct radeon_bo_int
*bo
, uint32_t *domain
);
42 int (*bo_is_referenced_by_cs
)(struct radeon_bo_int
*bo
, struct radeon_cs
*cs
);