Change-Id: Iecb82426fd0beeb9f7cda78035293ed1c9cc68c4
return arg.data1;
}
-#if 0
static int
_tbm_sprd_open_drm()
{
return fd;
}
-#endif
static int
_sprd_bo_cache_flush (tbm_bo bo, int flags)
}
if (tbm_backend_is_display_server()) {
-#if 0
- /* this code is applied with libtdm-sprd */
int master_fd = -1;
bufmgr_sprd->fd = -1;
} else {
bufmgr_sprd->fd = dup(master_fd);
}
-#else
- bufmgr_sprd->fd = dup(fd);
-#endif
if (bufmgr_sprd->fd < 0) {
TBM_SPRD_LOG ("[libtbm-sprd:%d] error: Fail to create drm!\n", getpid());