projects
/
platform
/
adaptation
/
samsung_exynos
/
libtbm-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec505bc
)
fix svace error
80/61380/1
accepted/tizen/common/20160308.142407
accepted/tizen/ivi/20160308.023257
accepted/tizen/mobile/20160308.023125
accepted/tizen/tv/20160308.023150
accepted/tizen/wearable/20160308.023225
submit/tizen/20160307.115029
author
Junkyeong Kim
<jk0430.kim@samsung.com>
Mon, 7 Mar 2016 11:29:49 +0000
(20:29 +0900)
committer
Junkyeong Kim
<jk0430.kim@samsung.com>
Mon, 7 Mar 2016 11:30:23 +0000
(20:30 +0900)
Change-Id: Ib6cdfe47453011614f1a6002decdcc2cc2979fbe
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
src/tbm_bufmgr_exynos.c
patch
|
blob
|
history
diff --git
a/src/tbm_bufmgr_exynos.c
b/src/tbm_bufmgr_exynos.c
index
a2093df
..
bcea640
100644
(file)
--- a/
src/tbm_bufmgr_exynos.c
+++ b/
src/tbm_bufmgr_exynos.c
@@
-695,6
+695,7
@@
_get_render_node(void)
TBM_EXYNOS_LOG("fstat() failed %s.\n");
udev_device_unref(drm_device);
udev_unref(udev);
+ close(fd);
return -1;
}
@@
-876,7
+877,7
@@
tbm_exynos_bo_alloc(tbm_bo bo, int size, int flags)
struct drm_exynos_gem_create arg = {0, };
- arg.size = size;
+ arg.size =
(uint64_t)
size;
arg.flags = exynos_flags;
if (drmCommandWriteRead(bufmgr_exynos->fd, DRM_EXYNOS_GEM_CREATE, &arg,
sizeof(arg))) {