Change-Id: I329ffae645df5275f51949d3f5207f70bd29fe26
if (tbm_backend_is_display_server())
tbm_drm_helper_unset_tbm_master_fd();
+ else
+ tbm_drm_helper_unset_fd();
close(bufmgr_exynos->fd);
TBM_EXYNOS_ERROR("fail to get auth drm info!\n");
goto fail_get_auth_info;
}
+
+ tbm_drm_helper_set_fd(bufmgr_exynos->fd);
}
}
fail_init_cache_state:
if (tbm_backend_is_display_server())
tbm_drm_helper_unset_tbm_master_fd();
+ else
+ tbm_drm_helper_unset_fd();
fail_get_device_name:
close(bufmgr_exynos->fd);
fail_get_auth_info: