execute tbm_bufmgr_init when init sandbox/jk/hal
authorJunkyeong Kim <jk0430.kim@samsung.com>
Sat, 20 Feb 2021 08:47:13 +0000 (17:47 +0900)
committerJunkyeong Kim <jk0430.kim@samsung.com>
Sat, 20 Feb 2021 08:47:18 +0000 (17:47 +0900)
commitd555c854c050ce93cb249c7e956a9cebca69d2b5
tree1c88150d87fee67bf6de21bb8dda6336f176fa3f
parent5c2425116056e7b75b2fa46d70dfe532d42af42b
execute tbm_bufmgr_init when init

cause of hal-tdm / hal-tbm error, tdm has to get bufmgr.
if do not get bufmgr, got hang in tdm-haltests.
error case:
tbm deinit -> tdm_putbackend -> destroy all created surface -> tbm_bufmgr_deinit -> tbm_putbackend
cannot execute putbackend at the same time.

Change-Id: Ic18b0ef5bcfe987ff2b0308286175b5caf47b5cb
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
src/tdm.c
src/tdm_private.h
src/tdm_private_types.h