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:
5573113
)
Revert "Revert:Use DRM_EXYNOS_GEM_MAP instead of DRM_IOCTL_MODE_MAP_DUMB"
73/56073/1
accepted/tizen/mobile/20160104.084836
accepted/tizen/tv/20160104.084903
accepted/tizen/wearable/20160104.084927
submit/tizen/20160104.064909
author
Changyeon Lee
<cyeon.lee@samsung.com>
Mon, 4 Jan 2016 06:33:11 +0000
(15:33 +0900)
committer
Changyeon Lee
<cyeon.lee@samsung.com>
Mon, 4 Jan 2016 06:35:03 +0000
(15:35 +0900)
This reverts commit
07101ed7215f58ad726cba36d69078b18567f0c1
.
Change-Id: I2b80ba4af39694e8c3b84458e8b68b8a818edb89
Signed-off-by: Changyeon Lee <cyeon.lee@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
928cd6a
..
9ddce2c
100644
(file)
--- a/
src/tbm_bufmgr_exynos.c
+++ b/
src/tbm_bufmgr_exynos.c
@@
-293,11
+293,11
@@
_exynos_bo_handle (tbm_bo_exynos bo_exynos, int device)
case TBM_DEVICE_CPU:
if (!bo_exynos->pBase)
{
- struct drm_
mode_map_dumb
arg = {0,};
+ struct drm_
exynos_gem_map
arg = {0,};
void *map = NULL;
arg.handle = bo_exynos->gem;
- if (drm
Ioctl (bo_exynos->fd, DRM_IOCTL_MODE_MAP_DUMB, &arg
))
+ if (drm
CommandWriteRead (bo_exynos->fd, DRM_EXYNOS_GEM_MAP, &arg, sizeof(arg)
))
{
TBM_EXYNOS_LOG ("error Cannot map_dumb gem=%d\n", bo_exynos->gem);
return (tbm_bo_handle) NULL;