do not use render node in client 86/208586/2
authorChangyeon Lee <cyeon.lee@samsung.com>
Wed, 26 Jun 2019 07:32:16 +0000 (16:32 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 10 Jul 2019 04:13:39 +0000 (04:13 +0000)
current tbm sholud use gem name

Change-Id: Ib08208392ed57bd8843c4ffc4c077baa06dc5bf4

src/tbm_bufmgr_exynos.c

index 2da8a89..88af258 100644 (file)
@@ -2033,7 +2033,11 @@ tbm_exynos_init(tbm_bufmgr bufmgr, tbm_error_e *error)
                        goto fail_get_device_name;
                }
        } else {
+#ifndef USE_RENDER_NODE
                bufmgr_exynos->fd = _get_render_node(0);
+#else
+               bufmgr_exynos->fd = -1;
+#endif
                if (bufmgr_exynos->fd < 0) {
                        if (!tbm_drm_helper_get_auth_info(&(bufmgr_exynos->fd), &(bufmgr_exynos->device_name), NULL)) {
                                TBM_ERR("fail to get auth drm info!\n");