remove hal_tbm_bufmgr_alloc_bo_with_tiled_format 74/255474/1
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 19 Mar 2021 01:33:53 +0000 (10:33 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Fri, 19 Mar 2021 01:33:53 +0000 (10:33 +0900)
The hal_tbm_bufmgr_alloc_bo_with_tiled_format is deprecated.
The backend get to know the requested bo allocation with hal_tbm_bo_memory_type
through hal_tbm_bufmgr_alloc_bo_with_format.

Change-Id: Iffbd666c8d150b72e643bccfdd37385906313455

include/hal-tbm-interface.h
include/hal-tbm.h
src/hal-api-tbm.c

index 2c75986..883ee03 100644 (file)
@@ -70,8 +70,6 @@ struct _hal_tbm_bufmgr_funcs {
        hal_tbm_bo *(*bufmgr_alloc_bo)(hal_tbm_bufmgr *bufmgr, unsigned int size, hal_tbm_bo_memory_type mem_types, hal_tbm_error *error);
        hal_tbm_bo *(*bufmgr_alloc_bo_with_format)(hal_tbm_bufmgr *bufmgr, int format, int bo_idx, int width, int height,
                                                                                hal_tbm_bo_memory_type mem_types, hal_tbm_error *error);
-       hal_tbm_bo *(*bufmgr_alloc_bo_with_tiled_format)(hal_tbm_bufmgr *bufmgr, int width, int height, int bpp, int format,
-                                                                               hal_tbm_bo_memory_type flags, int bo_idx, hal_tbm_error *error);
        hal_tbm_bo *(*bufmgr_import_fd)(hal_tbm_bufmgr *bufmgr, hal_tbm_fd fd, hal_tbm_error *error);
        hal_tbm_bo *(*bufmgr_import_key)(hal_tbm_bufmgr *bufmgr, hal_tbm_key key, hal_tbm_error *error);
 };
index 85fcefe..07fe359 100644 (file)
@@ -58,8 +58,6 @@ hal_tbm_error              hal_tbm_bufmgr_get_plane_data(hal_tbm_bufmgr *bufmgr,
 hal_tbm_bo                *hal_tbm_bufmgr_alloc_bo(hal_tbm_bufmgr *bufmgr, unsigned int size, hal_tbm_bo_memory_type mem_types, hal_tbm_error *error);
 hal_tbm_bo                *hal_tbm_bufmgr_alloc_bo_with_format(hal_tbm_bufmgr *bufmgr, int format, int bo_idx, int width, int height,
                                           hal_tbm_bo_memory_type mem_types, hal_tbm_error *error);
-hal_tbm_bo                *hal_tbm_bufmgr_alloc_bo_with_tiled_format(hal_tbm_bufmgr *bufmgr, int width, int height, int bpp, int format,
-                                          hal_tbm_bo_memory_type flags, int bo_idx, hal_tbm_error *error);
 hal_tbm_bo                *hal_tbm_bufmgr_import_fd(hal_tbm_bufmgr *bufmgr, hal_tbm_fd fd, hal_tbm_error *error);
 hal_tbm_bo                *hal_tbm_bufmgr_import_key(hal_tbm_bufmgr *bufmgr, hal_tbm_key key, hal_tbm_error *error);
 
index 6315492..30c2681 100644 (file)
@@ -303,15 +303,6 @@ hal_tbm_bufmgr_alloc_bo_with_format(hal_tbm_bufmgr *bufmgr, int format, int bo_i
 }
 
 EXTERN hal_tbm_bo *
-hal_tbm_bufmgr_alloc_bo_with_tiled_format(hal_tbm_bufmgr *bufmgr, int width, int height, int bpp, int format,
-                                                                       hal_tbm_bo_memory_type flags, int bo_idx, hal_tbm_error *error)
-{
-       BUFMGR_FUNC_ENTRY_NULL(bufmgr_alloc_bo_with_tiled_format);
-
-       return bufmgr_funcs->bufmgr_alloc_bo_with_tiled_format((hal_tbm_bufmgr *)bufmgr, width, height, bpp, format, flags, bo_idx, error);
-}
-
-EXTERN hal_tbm_bo *
 hal_tbm_bufmgr_import_fd(hal_tbm_bufmgr *bufmgr, hal_tbm_fd fd, hal_tbm_error *error)
 {
        BUFMGR_FUNC_ENTRY_NULL(bufmgr_import_fd);