summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Marchenko <r.marchenko@samsung.com>2016-02-05 11:36:28 +0200
committerSooChan Lim <sc1.lim@samsung.com>2016-03-07 19:47:55 +0900
commit0ef32010e2cf82cfbba371f79c219c5c8ede9620 (patch)
treebab4d4ce92dfd7496e598a511919385e28e06306
parent8c385fb9d3392440cdcfa3793143627d10612678 (diff)
downloadlibtbm-shm-0ef32010e2cf82cfbba371f79c219c5c8ede9620.tar.gz
libtbm-shm-0ef32010e2cf82cfbba371f79c219c5c8ede9620.tar.bz2
libtbm-shm-0ef32010e2cf82cfbba371f79c219c5c8ede9620.zip
Change-Id: I3c72546213c9f9edf1162180a238f6ed8f5810ff Signed-off-by: Roman Marchenko <r.marchenko@samsung.com>
-rw-r--r--src/tbm_bufmgr_shm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tbm_bufmgr_shm.c b/src/tbm_bufmgr_shm.c
index 17e86b6..4aeae70 100644
--- a/src/tbm_bufmgr_shm.c
+++ b/src/tbm_bufmgr_shm.c
@@ -301,7 +301,7 @@ tbm_shm_bo_free(tbm_bo bo)
bo_shm = (tbm_bo_shm)tbm_backend_get_bo_priv(bo);
SHM_RETURN_IF_FAIL (bo_shm!=NULL);
- DBG (" [%s] bo:%p, gem:%d(%d), size:%d\n",target_name(),
+ DBG (" [%s] bo:%p, shm:%d(%d), size:%d\n",target_name(),
bo,
bo_shm->shmid, bo_shm->key,
bo_shm->size);
@@ -1108,7 +1108,7 @@ init_tbm_bufmgr_priv (tbm_bufmgr bufmgr, int fd)
bufmgr_backend->fd_to_handle = NULL;
bufmgr_backend->surface_get_num_bos = tbm_shm_surface_get_num_bos;
- bufmgr_backend->flags = 0;
+ bufmgr_backend->flags = TBM_CACHE_CTRL_BACKEND;
bufmgr_backend->bo_lock = NULL;
bufmgr_backend->bo_unlock = NULL;