- void *(*bo_map)(struct bo *bo, struct map_info *data, size_t plane, uint32_t map_flags);
- int (*bo_unmap)(struct bo *bo, struct map_info *data);
- int (*bo_invalidate)(struct bo *bo, struct map_info *data);
- int (*bo_flush)(struct bo *bo, struct map_info *data);
- uint32_t (*resolve_format)(uint32_t format, uint64_t use_flags);
+ void *(*bo_map)(struct bo *bo, struct vma *vma, size_t plane, uint32_t map_flags);
+ int (*bo_unmap)(struct bo *bo, struct vma *vma);
+ int (*bo_invalidate)(struct bo *bo, struct mapping *mapping);
+ int (*bo_flush)(struct bo *bo, struct mapping *mapping);
+ uint32_t (*resolve_format)(struct driver *drv, uint32_t format, uint64_t use_flags);
+ size_t (*num_planes_from_modifier)(struct driver *drv, uint32_t format, uint64_t modifier);
+ int (*resource_info)(struct bo *bo, uint32_t strides[DRV_MAX_PLANES],
+ uint32_t offsets[DRV_MAX_PLANES]);