Merge "Fix cache control configuration" into devel/tizen
authorSooChan Lim <sc1.lim@samsung.com>
Fri, 19 Dec 2014 08:37:01 +0000 (00:37 -0800)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Fri, 19 Dec 2014 08:37:01 +0000 (00:37 -0800)
packaging/libtbm-exynos4412.spec
src/tbm_bufmgr_exynos4412.c

index 5e7b391..4142fee 100644 (file)
@@ -1,6 +1,6 @@
 Name:           libtbm-exynos4412
 Version:        1.0.5
-Release:        1
+Release:        2
 License:        MIT
 Summary:        Tizen Buffer Manager - exynos4412 backend
 Group:          System/Libraries
index 24214c2..cd6b28d 100644 (file)
@@ -305,7 +305,7 @@ _exynos4412_bo_handle (tbm_bo_exynos4412 bo_exynos4412, int device)
                          getpid(), __FUNCTION__, __LINE__, bo_exynos4412->gem);
                 return (tbm_bo_handle) NULL;
             }
-            bo_exynos4412->pBase = (void*)((uint32_t)arg.mapped);
+            bo_exynos4412->pBase = (void*)((uint64_t)arg.mapped);
         }
 
         bo_handle.ptr = (void *)bo_exynos4412->pBase;
@@ -854,7 +854,7 @@ tbm_exynos4412_bo_export_fd (tbm_bo bo)
             TBM_EXYNOS4412_LOG ("[libtbm-exynos4412:%d] "
                      "error %s:%d Cannot dmabuf=%d\n",
                      getpid(), __FUNCTION__, __LINE__, bo_exynos4412->gem);
-            return (tbm_fd) NULL;
+            return (tbm_fd) 0;
         }
         bo_exynos4412->dmabuf = arg.fd;
     }