Junkyeong Kim [Fri, 10 Jun 2022 05:42:55 +0000 (14:42 +0900)]
Package version up to 4.1.18
Change-Id: I55f9cfd3908a5885de2fd9da2986a1f5fe4c1f2d
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Junkyeong Kim [Fri, 10 Jun 2022 05:41:33 +0000 (14:41 +0900)]
apply new gcov policy
Change-Id: I37c620c9d0555bc34efc403ac683bbd9a46ea7b1
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Changyeon Lee [Wed, 27 Apr 2022 08:14:40 +0000 (17:14 +0900)]
Package version up to 4.1.17
Change-Id: I5e19d1d068a516f6eacf195f99cac838dcacd49f
Changyeon Lee [Wed, 27 Apr 2022 03:14:14 +0000 (12:14 +0900)]
tbm_bo: return flag of tbm bo from backend
backend can change flag of tbm bo
flag should be got from backend
Change-Id: Ib38b15ed2ac051fe2b6a3ed62541726a5b04acd7
SooChan Lim [Fri, 15 Apr 2022 07:13:33 +0000 (16:13 +0900)]
Package version up to 4.1.16
Change-Id: Ia45d92140b5e3af4be170ab3cfa8884b8ba7be06
SooChan Lim [Fri, 15 Apr 2022 07:09:05 +0000 (16:09 +0900)]
test: donot use parametized tests
for fix the testing error message from Gtest module.
There are no TEST_P cases in tbm-haltests yet.
Therefore TBMEnv don't need to inherit the parametized class of Gtest.
Change-Id: I245efc1206a39dd562ae5781be2cf7011f286a0b
SooChan Lim [Wed, 2 Mar 2022 01:36:56 +0000 (10:36 +0900)]
Package version up to 4.1.15
Change-Id: Idbd00220045923425ef994d1459399ba77dbb922
SooChan Lim [Wed, 2 Mar 2022 01:36:10 +0000 (10:36 +0900)]
do not use "+" at configure.ac
fix the build break due to upgrade pkg-config 0.29.2.
Change-Id: I0241732143f61c2617d42a9d12022d61517a6aa8
Junkyeong, Kim [Tue, 25 Jan 2022 05:32:46 +0000 (14:32 +0900)]
Package version up to 4.1.14
Change-Id: Ib04499f36454d5ed7f9eefb368e50c8e750944b1
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
Junkyeong, Kim [Tue, 25 Jan 2022 04:49:11 +0000 (13:49 +0900)]
Change gcov package installation path
Change-Id: I12c62fcbd4077aa18caeff7fc51d943e84bc3f67
Signed-off-by: Junkyeong, Kim <jk0430.kim@samsung.com>
Changyeon Lee [Thu, 6 Jan 2022 04:42:26 +0000 (13:42 +0900)]
Package version up to 4.1.13
Change-Id: Id82be2e124992561c12736f7b6573cffddb4dce6
Changyeon Lee [Wed, 5 Jan 2022 03:44:52 +0000 (12:44 +0900)]
tbm_surface_internal: fix wrong last result when tbm_bo_map is failed
tbm_bo_unmap set ERROR NONE to last result in case of tbm_bo_map is failed
Change-Id: I160d38ebd07020b7b1a5766eacaab7d40c8bb69e
Changyeon Lee [Thu, 16 Dec 2021 09:02:20 +0000 (18:02 +0900)]
Package version up to 4.1.12
Change-Id: I68cef585bdaf78a1143763613f7587186e648990
Changyeon Lee [Thu, 16 Dec 2021 09:01:30 +0000 (18:01 +0900)]
tbm_bufmgr: fix leak of bo data
Change-Id: I8eb535679f451f0fb64f3f30094cf7801a121184
Changyeon Lee [Mon, 1 Nov 2021 03:44:04 +0000 (12:44 +0900)]
Package version up to 4.1.11
Change-Id: I455af528f2b5e8607b1639c0689d9a8b629f8334
Changyeon Lee [Thu, 14 Oct 2021 05:29:10 +0000 (14:29 +0900)]
tbm_bo: fix wrong last error when tbm_bo_map is failed
Change-Id: I85b46f18be8b1850c83c10c0c298ea5cc7c3e780
Joonbum Ko [Tue, 24 Aug 2021 05:47:04 +0000 (14:47 +0900)]
Exclude dlog dependency when dlog disabled.
Change-Id: I89e63e372ea77d12c77eae2cbf555421adc2ed9d
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
SooChan Lim [Fri, 13 Aug 2021 04:34:50 +0000 (13:34 +0900)]
Package version up to 4.1.10
Change-Id: Ie59eab4857367df5a569f924bada52f8d88caf1f
SooChan Lim [Fri, 13 Aug 2021 00:10:56 +0000 (09:10 +0900)]
tbm_bufmgr: change the paramter type
change the long type into the unsigned int type.
Change-Id: Ic040b29759f166afcc870030ec49e822e8a3c752
Changyeon Lee [Tue, 10 Aug 2021 02:48:41 +0000 (11:48 +0900)]
Package version up to 4.1.9
Change-Id: If6a1e27e16c7ab6ad4b231e4eda31839f3d9b8bb
Changyeon Lee [Mon, 9 Aug 2021 11:00:43 +0000 (20:00 +0900)]
Fix missing initalize
Change-Id: I279fc7e005a34d2e70f2e4627d7af47083eb1654
SooChan Lim [Wed, 28 Jul 2021 10:00:18 +0000 (19:00 +0900)]
add --with-default-dlog build option
The default value of this option is yes.
If this option sets no, the default log is stdout.
Change-Id: I806691bec7c604ff2954f7004907ac0670c43588
SooChan Lim [Thu, 8 Jul 2021 07:02:56 +0000 (16:02 +0900)]
Package version up to 4.1.8
Change-Id: Idab9f0446feaa1dbb436dcd078ed59f4c858e1f9
SooChan Lim [Thu, 8 Jul 2021 06:55:31 +0000 (15:55 +0900)]
tbm_bufmgr: set TBM_ERROR_INVALID_PARAMETER
when the parameter is not vaild.
Change-Id: I58e2ca583e4ab868f838a1a3bbb85a6c50b82907
SooChan Lim [Wed, 7 Jul 2021 04:53:56 +0000 (13:53 +0900)]
tbm_surface_internal: check the bufmgr capabililiy
check the bufmgr capability instead of calling the
tbm_module_support_surface_data
Change-Id: I41621f4315a21c9e8cb6ee6373beadf23d85350f
SooChan Lim [Wed, 7 Jul 2021 04:53:11 +0000 (13:53 +0900)]
tbm_bufmgr: add tbm_bufmgr_internal_support_capabilites
this function checks if the bufmgr has the given capabilites at the same
time.
Change-Id: I099dc2145e7e7bb01ed2acfe49e1a134f0058b0c
SooChan Lim [Wed, 7 Jul 2021 02:22:23 +0000 (11:22 +0900)]
tbm_bufmgr: add TBM_BUFMGR_CAPABILITY_SHARE_SURFACE
The backend module can support the function of sharing the surface
resource when this capability is set.
Change-Id: Ib80447441011071d5794b370f3ab37fcf7ac86b7
SooChan Lim [Fri, 2 Jul 2021 02:49:14 +0000 (11:49 +0900)]
Package version up to 4.1.7
Change-Id: I613b5459b42eb1c444541a077a7a749261e87607
SooChan Lim [Fri, 2 Jul 2021 02:22:31 +0000 (11:22 +0900)]
tbm_module: donot print the error message
Donot print the error message when the backend does not support
hal_tbm_bufmgr_alloc_surface.
Change-Id: Iaeb5a9dc5d0348e7ce4fe51c996a65951b02f29e
SooChan Lim [Fri, 2 Jul 2021 02:08:18 +0000 (11:08 +0900)]
tbm_surface_internal: do not print the error message
If the tbm_module does not support the surface_data, the libtbm prints nothing.
Change-Id: Ibbe628d66a6ff1a1d56a9e578a38e8101e84530e
SooChan Lim [Fri, 2 Jul 2021 02:01:24 +0000 (11:01 +0900)]
tbm_module: donot print failed message.
libtbm calls the bufmgr_alloc_bo if bufmgr_alloc_bo_with_format.
So we don't need to print the failed message.
Change-Id: Ic87149028dddb3e9537d70240fb2e5aa98298e3d
SooChan Lim [Thu, 24 Jun 2021 05:20:58 +0000 (14:20 +0900)]
Package version up to 4.1.6
Change-Id: Ib7871207cf550b17169e94fc92f048430161c7a7
SooChan Lim [Thu, 24 Jun 2021 04:21:43 +0000 (13:21 +0900)]
tbm_bufmgr: lock the gLock before locking tbm_bufmgr_mutex
The order of locking mutex makes deadlock. So this patch
will start to fix.
Change-Id: I47a537f41ad19cac3bb1a31fc75a88bae5cda21d
SooChan Lim [Thu, 24 Jun 2021 03:29:44 +0000 (12:29 +0900)]
tbm_bufmgr: call _tbm_bufmgr_debug_tbm_info_get at _tbm_bufmgr_check_bo_cnt
To avoid the deadlock, _tbm_bufmgr_debug_tbm_info_get is added and
_tbm_bufmgr_check_bo_cnt uses _tbm_bufmgr_debug_tbm_info_get function.
Change-Id: Ia17077144c8973d4d673994d407a669b3dd3496d
SooChan Lim [Thu, 24 Jun 2021 03:01:12 +0000 (12:01 +0900)]
tbm_bufmgr: lock the gLock before locking tbm_bufmgr_mutex
The order of locking mutex makes deadlock. So this patch
will start to fix.
Change-Id: Ic7b866eb5b6826239e1b671c059d0393c47ac4f1
SooChan Lim [Thu, 24 Jun 2021 01:56:54 +0000 (10:56 +0900)]
tbm_surface_internal: fix the memory leak
Change-Id: I0579184c8ebb4215ad27fc6f43f64bd46bbff494
SooChan Lim [Thu, 24 Jun 2021 01:36:53 +0000 (10:36 +0900)]
tbm_module: align the line
Change-Id: I861b1930a89b8d122b2dc053a83d50b6d0268c23
SooChan Lim [Thu, 24 Jun 2021 01:08:01 +0000 (10:08 +0900)]
tbm_module: handle the memory leak of the bo_data_array
deal with the memory free when it operates to be failed.
Change-Id: Ifdf99fca1f1b056139ff3c63e72fb08ab15faed2
SooChan Lim [Thu, 24 Jun 2021 01:05:51 +0000 (10:05 +0900)]
tbm_module: remove the static variable
assign the checking variable of the surface_data to tbm_module structure
Change-Id: Ied5a89e68b63ed799d707a4dd2f94b3737e56486
SooChan Lim [Wed, 23 Jun 2021 09:02:31 +0000 (18:02 +0900)]
tbm_module: fix MEAMORY_LEAK.EX
fix the memory leak
Change-Id: Ib357b8e3807e605eec812cf3ce78418086390ba4
SooChan Lim [Wed, 23 Jun 2021 05:36:37 +0000 (14:36 +0900)]
tbm_bufmgr: remove the duplicated code
Change-Id: I6feb7f196d7a3ab93a32f8de6e9797de5bf5ccc5
SooChan Lim [Wed, 23 Jun 2021 05:26:14 +0000 (14:26 +0900)]
tbm_bufmgr: donot call _tbm_set_last_result
The caller of tbm_bufmgr_internal_alloc_bo_with_format calls
_tbm_set_last_result with the error value.
Change-Id: If64031796a5a35b5c811ba2da614674ea6510ef3
SooChan Lim [Wed, 23 Jun 2021 05:16:52 +0000 (14:16 +0900)]
tbm_bufmgr: lock/unlock tbm_bufmgr_mutex at tbm_bufmgr function
move the lock/unlock code from tbm_bo_alloc to
tbm_bufmgr_internal_alloc_bo
Change-Id: Ic4ac270049b30a3859784363d56961a080de53c9
SooChan Lim [Wed, 23 Jun 2021 04:56:55 +0000 (13:56 +0900)]
tbm_bufmgr: lock/unlock tbm_bufmgr_mutex at tbm_bufmgr function
move the lock/unlock code from tbm_bo_import_fd to
tbm_bufmgr_internal_import_with_fd
Change-Id: I9784f421e91ce3da6a702829c67a08be937b1d22
SooChan Lim [Wed, 23 Jun 2021 04:52:54 +0000 (13:52 +0900)]
tbm_bo: initialize the bo->user_data_list at bo_free
instead of LIST_INITHEAD at tbm_bo_import_fd
Change-Id: I97550425189bcf596614baf7dabca66866478af3
SooChan Lim [Wed, 23 Jun 2021 04:10:19 +0000 (13:10 +0900)]
tbm_bufmgr: lock/unlock tbm_bufmgr_mutex at tbm_bufmgr function
move the lock/unlock code from tbm_bo_import to
tbm_bufmgr_internal_import_with_key
Change-Id: I10969db4deea995ab206148f3ea2e3affa030c0e
SooChan Lim [Wed, 23 Jun 2021 02:54:10 +0000 (11:54 +0900)]
tbm_surface_internal: refactor the creation of a surface
Reduce the duplicated codes and Be easy to handle an error
at the time of the surface creation.
Change-Id: I0327d332d8c7ec1a4b0919f562826a7ff5476b83
SooChan Lim [Wed, 23 Jun 2021 02:52:30 +0000 (11:52 +0900)]
tbm_bufmgr: add error as a parameter
add an error parameter to tbm_bufmgr_internal_alloc_bo_with_bo_data
to get the error.
Change-Id: I4def2716f5e749b9a768dfec5f6416d527cb2144
SooChan Lim [Tue, 22 Jun 2021 07:17:19 +0000 (16:17 +0900)]
tbm_bufmgr: do not include the backend header files
tbm_module include the backend header files, so
tbm_bufmgr does not need to include the backend header files.
Change-Id: I923c6ffcc44d372983c6e26bf064e020c13718aa
SooChan Lim [Tue, 22 Jun 2021 07:03:37 +0000 (16:03 +0900)]
tbm_bo: remove the priv at tbm_bo structure
Change-Id: I190924c2f30fece7e2bab6a559df7aeef58a2257
SooChan Lim [Tue, 22 Jun 2021 07:03:09 +0000 (16:03 +0900)]
tbm_bo: swap the bo_data intead of priv
Change-Id: I00deb3af0a346eb48a545a9f7a0397086c6539c3
SooChan Lim [Tue, 22 Jun 2021 06:47:45 +0000 (15:47 +0900)]
tbm_module: change the tbm_module_bo_xxx signature
remove tbm_module and tbm_bo arguments.
change the prefix of the name from tbm_module_bo_xxx to tbm_bo_data_xxx
Change-Id: I03f133e90e141e4ed7f843043919871e2a97c09b
SooChan Lim [Tue, 22 Jun 2021 06:24:37 +0000 (15:24 +0900)]
tbm_module: add tbm_bo_data structure and use it
The tbm_bo_data encapsulates the backend bo_data.
The tbm_module can manage the backend bo_data with this
tbm_bo_data.
Change-Id: I299475b9c6f1619ef00e0968f0c43152cddf9bdd
SooChan Lim [Tue, 22 Jun 2021 04:16:52 +0000 (13:16 +0900)]
tbm_module: change tbm_backend_surface_data into tbm_surface_data
Change-Id: Ib8b0cc86f82ed4cd4dd32ac5ed0ec08aa75baefa
SooChan Lim [Tue, 22 Jun 2021 03:25:31 +0000 (12:25 +0900)]
tbm_bufmgr: use tbm_module
The tbm_module has the information about the backend modules of libtbm.
The tbm_bufmgr does not access the backend module information directly
instead tbm_module has taken in charge of the managememt of the backend
module of libtbm.
Change-Id: I5422fa077f9924dc31afc4bf76c390c26d3dcaa2
SooChan Lim [Tue, 22 Jun 2021 03:24:06 +0000 (12:24 +0900)]
tbm_bufmgr_backend: use module
The bufmgr argument is the tbm_module at libtbm.
Change-Id: Ice96d5dcd457d1da65f8ac9982bb9dc1aa0978d8
SooChan Lim [Tue, 22 Jun 2021 03:23:07 +0000 (12:23 +0900)]
tbm_module: use backend pointer instead of bo->bufmgr->backend pointer
Change-Id: Ib625067f80dc896b6313c93302a87364bf750df6
SooChan Lim [Tue, 22 Jun 2021 02:52:25 +0000 (11:52 +0900)]
tbm_bo: change the name of the member vars
change the name from get_from_hal_surface to get_from_surface_data.
Change-Id: I09504455e35cc9cb77e78675db44cbb7e21392cb
SooChan Lim [Tue, 22 Jun 2021 02:44:05 +0000 (11:44 +0900)]
tc: skip the testcase when api does not support.
skip some tbm_surface api which may not be supported.
Change-Id: I0e143746004c5a81c8ab87501bc9eaa57907361a
SooChan Lim [Tue, 22 Jun 2021 02:33:34 +0000 (11:33 +0900)]
tbm_surface_internal: implement tbm_surface functions with tbm_suface_data api
Use tbm_surface_data instead of hal_tbm_surface at tbm_surface_internal.c
Change-Id: I137edbfd63756c1c975731baae05cedd554de4be
SooChan Lim [Tue, 22 Jun 2021 02:29:08 +0000 (11:29 +0900)]
tbm_surface: add tbm_backend_surface_data to tbm_surface structure
tbm_backend_surface_data is the surface_data from HAL-TBM backend
module.
Change-Id: Ieb8ec6ae10dbbc8e5ef49dd4598567778ae58dc2
SooChan Lim [Tue, 22 Jun 2021 02:24:29 +0000 (11:24 +0900)]
tbm_module: add tbm_module_support_surface_data
This tells whether the module support surface_data.
Change-Id: I84bfa7849daad784feab9c2d7779adbe3bcea934
SooChan Lim [Tue, 22 Jun 2021 02:23:04 +0000 (11:23 +0900)]
tbm_module: add tbm_surface_data_export
This exports the buffer_data from surface_data.
Change-Id: If4731f1acd61a4498139549fd49fd39d10dca4fe
SooChan Lim [Tue, 22 Jun 2021 02:21:56 +0000 (11:21 +0900)]
tbm_module: add tbm_surface_data_get_bo_data_array
This gets the bo_data array from the surface_data
Change-Id: I3f22258b732a26664152f4668195a968678cb3ab
SooChan Lim [Tue, 22 Jun 2021 02:20:17 +0000 (11:20 +0900)]
tbm_module: add tbm_surface_data_get_plane_data
This gets the plane data from the surface_data
Change-Id: I4dc59461c28941c0f4184b3a70ea6d5922925b42
SooChan Lim [Tue, 22 Jun 2021 02:17:31 +0000 (11:17 +0900)]
tbm_module: add tbm_surface_data_free
This frees tbm_surface_data resource.
Change-Id: I2b54f218f08ed2cb63f7a651539ccb8334ff34ee
SooChan Lim [Tue, 22 Jun 2021 01:40:50 +0000 (10:40 +0900)]
tbm_module: add tbm_module_import_surface_data
This imports a tbm_backend_surface_data resource with
tbm_surface_buffer_data.
Change-Id: I3ea0507aab1c64e8906d5d9c59298ce41c897e57
SooChan Lim [Tue, 22 Jun 2021 01:39:41 +0000 (10:39 +0900)]
tbm_module: add tbm_module_alloc_surface_data
This allocates a tbm_backend_surface_data resource.
Change-Id: I3548be16f63fa616feff4e740749f8ac1356a548
SooChan Lim [Tue, 22 Jun 2021 01:10:51 +0000 (10:10 +0900)]
tbm_module: add tbm_backend_surface_data structure
The tbm_backend_surface_data is a resource information from HAL-TBM.
Change-Id: Iec3dfc8630dd0e2059a64d22e53c9edb91cb570d
SooChan Lim [Tue, 22 Jun 2021 01:23:27 +0000 (10:23 +0900)]
tbm_module: change the api name for allocation of bo_data
use bo_data instead of bo
Change-Id: I5b13bc8b4fdfd4fa3881f1027df7cc6e95299497
SooChan Lim [Tue, 22 Jun 2021 01:17:24 +0000 (10:17 +0900)]
tbm_module: change tbm_module_bufmgr_ to tbm_module_
Change-Id: If69b109fdc88d36c36f11349a97d1e334a0e8ae9
SooChan Lim [Mon, 21 Jun 2021 01:29:41 +0000 (10:29 +0900)]
Package version up to 4.1.5
Change-Id: If451967746b33eabfca3e74304d596e178db6f8b
SooChan Lim [Mon, 21 Jun 2021 01:28:45 +0000 (10:28 +0900)]
tbm_module: free bo when it is not from hal_surface.
This patch fix the memory leak.
Change-Id: I60dc2669aadeffdfa286a06108f448f450b43f56
Changyeon Lee [Fri, 18 Jun 2021 08:58:11 +0000 (17:58 +0900)]
tbm_surface_internal: Support XBGR, ABGR format in capture
Change-Id: I19bad30aa8ee6931a7d48495d052d0aab5543cd7
SooChan Lim [Fri, 18 Jun 2021 04:51:49 +0000 (13:51 +0900)]
Package version up to 4.1.4
Change-Id: Ie91ee1b6320a3e77150feaa714012ad833f41e8f
SooChan Lim [Fri, 18 Jun 2021 02:16:09 +0000 (11:16 +0900)]
tbm_module: make tbm_module.h
make tbm_module.h and move structures and symbols
form tbm_bufmgr_int.h to tbm_module.h
Change-Id: I3064ebb93c049daf36c834418e0b004761382191
SooChan Lim [Fri, 18 Jun 2021 01:30:21 +0000 (10:30 +0900)]
tbm_module: initialize the bo_handle to be null.
Change-Id: Iaff9f5ecec556bdf611cd44c5a013ad800923948
SooChan Lim [Thu, 17 Jun 2021 10:49:24 +0000 (19:49 +0900)]
tbm_module: change tbm_module_bufmgr symbol names
The changed symbols are below.
- tbm_module_bufmgr_alloc_bo
- tbm_module_bufmgr_alloc_bo_with_format
- tbm_module_bufmgr_import_bo_with_fd
- tbm_module_bufmgr_import_bo_with_key
Change-Id: Ia91b4fabc15777c06d153062d498eb38650df140
SooChan Lim [Thu, 17 Jun 2021 10:29:16 +0000 (19:29 +0900)]
tbm_module: do not print error message
do not print error message when the bufmgr_func->bufmgr_alloc_bo_with_format
does not exists. when it does not exists, allocation logic call the
fallback alloc_bo function.
Change-Id: If760eab7372ad67bc032f1ae99c28829ff7fc834
SooChan Lim [Thu, 17 Jun 2021 10:20:52 +0000 (19:20 +0900)]
tbm_module: add tbm_module_bo_exportd_key and use it
The tbm_module_bo_export_key calls it's backend function
Change-Id: I24be15e2e60829bb4d4da0d562f032447c232c22
SooChan Lim [Thu, 17 Jun 2021 10:10:35 +0000 (19:10 +0900)]
tbm_module: add tbm_module_bo_exportd_fd and use it
The tbm_module_bo_export_fd calls it's backend function
Change-Id: I806c6fb60545ee0777d837ab3ada36f7a511017e
SooChan Lim [Thu, 17 Jun 2021 09:59:14 +0000 (18:59 +0900)]
tbm_module: add tbm_module_bo_unlock and use it
The tbm_module_bo_unlock calls it's backend function
Change-Id: Ic9b5f241223780dd39bed1c508a58140245c09d0
SooChan Lim [Thu, 17 Jun 2021 09:45:19 +0000 (18:45 +0900)]
tbm_module: add tbm_module_bo_lock and use it
The tbm_module_bo_lock calls it's backend function
Change-Id: Ie409832d92c73d11ce205b25dd2a296fd4cd74f4
SooChan Lim [Thu, 17 Jun 2021 08:27:33 +0000 (17:27 +0900)]
tbm_module: add tbm_module_bo_unmap and use it
The tbm_module_bo_unmap calls it's backend function
Change-Id: I4dbd8164bf1cbd7d67af0e22ce40d46be24dabd1
SooChan Lim [Thu, 17 Jun 2021 08:18:14 +0000 (17:18 +0900)]
tbm_module: add tbm_module_bo_map and use it
The tbm_module_bo_map calls it's backend function
Change-Id: I73cd41c9fe283a3e8d406a1a80d5468a494e98be
SooChan Lim [Thu, 17 Jun 2021 08:08:48 +0000 (17:08 +0900)]
tbm_module: add tbm_module_bo_get_bo_handle and use it
The tbm_module_bo_get_bo_handle calls it's backend function
Change-Id: I14f12650031bc1ca250de953724e8ac9f91e7664
SooChan Lim [Thu, 17 Jun 2021 07:45:54 +0000 (16:45 +0900)]
tbm_module: add tbm_module_bo_get_memory_types and use it
The tbm_module_bo_get_memory_types calls it's backend function
Change-Id: I1d56ab9485bc1cccf089c65cd66da87fae288823
SooChan Lim [Thu, 17 Jun 2021 07:30:08 +0000 (16:30 +0900)]
tbm_module: add tbm_module_bo_get_size and use it
The tbm_module_bo_get_size calls it's backend function.
Change-Id: I8b06b99e565b673de3a192537658b1bb0e63e1dd
SooChan Lim [Thu, 17 Jun 2021 07:07:21 +0000 (16:07 +0900)]
tbm_module: add tbm_module_bo_free and use it
The tbm_module_bo_free calls it's backend function.
Change-Id: Ic0aa305f742ef543119d607061c8abe59cf1bae9
SooChan Lim [Thu, 17 Jun 2021 04:56:58 +0000 (13:56 +0900)]
Package version up to 4.1.3
Change-Id: Iff89a3f9519d316f2ba49598ba7c47481082b66e
SooChan Lim [Thu, 17 Jun 2021 01:34:36 +0000 (10:34 +0900)]
tbm_surface_internal: donot set error type
the error type should be set by hal backend.
Change-Id: I4a7c47d8a091c01c124d09072462ae18a317ea8b
SooChan Lim [Thu, 17 Jun 2021 01:18:30 +0000 (10:18 +0900)]
tbm_surface_internal: remove dead code
Change-Id: I540255281d74ade6a96c0e98ed50f4ffc6c5eeeb
SooChan Lim [Thu, 17 Jun 2021 01:02:08 +0000 (10:02 +0900)]
tbm_module: fix the wrong condition
A fd has to be checked if it is less than 0.
Change-Id: Ia71d5208060e4d1e6e6965c3f3848e0d77aaea6c
SooChan Lim [Thu, 17 Jun 2021 01:00:44 +0000 (10:00 +0900)]
tbm_bufmgr: make a reset function for initializing module_data
This static function will be deleted after refactoring tbm_module.
Change-Id: Icb63be6362f3b03f1eb99d2444f569f8b75cc70b
SooChan Lim [Thu, 17 Jun 2021 00:48:11 +0000 (09:48 +0900)]
tbm_surface_internal: check the memory validation at macro
checkt the validataion of the error pointer at TBM_SURFACE_RETURN_VAL_SET_ERR_IF_FAIL
Change-Id: Idd6815577e1e03d0bfc0ad1e234e348e18b7055f
SooChan Lim [Wed, 16 Jun 2021 08:20:54 +0000 (17:20 +0900)]
tbm_bufmgr: add tbm_bufmgr_internal_import_bo_with_fd and use it
The tbm_bufmgr generates tbm_bo and manages them
Change-Id: Ie292badda463f17a7e0eba0b4320c9ea537ab7c1
SooChan Lim [Wed, 16 Jun 2021 07:55:13 +0000 (16:55 +0900)]
tbm_bufmgr: add tbm_bufmgr_internal_import_bo_with_key and use it
The tbm_bufmgr generates tbm_bo and manages them
Change-Id: Iac149b45c70a38eefc887a11770dde0d61faeeb7
SooChan Lim [Wed, 16 Jun 2021 07:42:24 +0000 (16:42 +0900)]
tbm_bufmgr: add tbm_bufmgr_internal_alloc_bo and use it
The tbm_bufmgr generates tbm_bo and manages them.
Change-Id: I2dae9758aba658c28c26ba595a049edc45f914c8
SooChan Lim [Wed, 16 Jun 2021 06:00:00 +0000 (15:00 +0900)]
tbm_bufmgr: change tbm_bo_alloc_with_bo_data name
change tbm_bo_alloc_with_bo_data into tbm_bufmgr_internal_alloc_bo_with_bo_data
and move this function to tbm_bufmgr.c
Change-Id: I7266e1630043d9ee64ea228070b6f78940d4acc0
SooChan Lim [Wed, 16 Jun 2021 05:40:40 +0000 (14:40 +0900)]
tbm_bufmgr: change tbm_bo_alloc_with_format name
change tbm_bo_alloc_with_format into tbm_bufmgr_internal_alloc_bo_with_format
and move this function to tbm_bufmgr.c
Change-Id: I1827f2ee05534ad7a56221b4c704a33dc965c432