Change-Id: I1d363e11258110fa619492eb00fe6f3a77775f71
_tgl_destroy(bufmgr_exynos->tgl_fd, bo_exynos->name);
}
+#if 0
static int
_tbm_exynos_open_drm()
{
return fd;
}
+#endif
static int
_get_render_node(void)
}
if (tbm_backend_is_display_server()) {
+#if 0
+ /* this code is applied with libtdm-exynos */
int master_fd = -1;
bufmgr_exynos->fd = -1;
} else {
bufmgr_exynos->fd = dup(master_fd);
}
+#else
+ bufmgr_exynos->fd = dup(fd);
+#endif
if (bufmgr_exynos->fd < 0) {
TBM_EXYNOS_LOG ("[libtbm-exynos:%d] error: Fail to create drm!\n", getpid());