bufmgr: call backend export function instead tbm_bo_export
authorChangyeon Lee <cyeon.lee@samsung.com>
Tue, 22 Aug 2017 02:35:37 +0000 (11:35 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Tue, 22 Aug 2017 10:06:42 +0000 (19:06 +0900)
if call tbm_bo_export, it ouccur deadlock

Change-Id: Id30c06ddff50295580d9a3d03aa93ff5830aa3f9

src/tbm_bufmgr.c

index 3f8343d..ac48c1e 100644 (file)
@@ -1615,7 +1615,7 @@ tbm_bufmgr_debug_tbm_info_get(tbm_bufmgr bufmgr)
                                  bo->map_cnt,
                                  bo->flags,
                                  bo->surface,
-                                 tbm_bo_export(bo));
+                                 bufmgr->backend->bo_export(bo));
                }
        } else
                TBM_SNRPRINTF(str, len, c, "no tbm_bos.\n");