bufmgr_funcs->bufmgr_get_supported_formats = tbm_vc4_bufmgr_get_supported_formats;
bufmgr_funcs->bufmgr_get_plane_data = tbm_vc4_bufmgr_get_plane_data;
bufmgr_funcs->bufmgr_alloc_bo = tbm_vc4_bufmgr_alloc_bo;
- bufmgr_funcs->bufmgr_alloc_bo_with_format = NULL;
- bufmgr_funcs->bufmgr_import_fd = tbm_vc4_bufmgr_import_fd;
- bufmgr_funcs->bufmgr_import_key = tbm_vc4_bufmgr_import_key;
#ifdef VC4_TILED_FORMAT
- bufmgr_funcs->bufmgr_alloc_bo_with_tiled_format = tbm_vc4_bufmgr_alloc_bo_with_tiled_format;
+ bufmgr_funcs->bufmgr_alloc_bo_with_format = tbm_vc4_bufmgr_alloc_bo_with_tiled_format;
#else
- bufmgr_funcs->bufmgr_alloc_bo_with_tiled_format = NULL;
+ bufmgr_funcs->bufmgr_alloc_bo_with_format = NULL;
#endif
+ bufmgr_funcs->bufmgr_import_fd = tbm_vc4_bufmgr_import_fd;
+ bufmgr_funcs->bufmgr_import_key = tbm_vc4_bufmgr_import_key;
/* alloc and register bo_funcs */
bo_funcs = calloc(1, sizeof(struct _hal_tbm_bo_funcs));