From: Boram Park Date: Wed, 27 Sep 2017 08:37:21 +0000 (+0900) Subject: set drm_fd to tbm X-Git-Tag: accepted/tizen/4.0/unified/20170929.075518^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ea5d8b69554417c15440caaf500710b2adf85657;p=platform%2Fcore%2Fuifw%2Flibtdm.git set drm_fd to tbm Change-Id: If4e231b807744f14621dfb4ccc710191b6d09aab --- diff --git a/src/tdm_helper.c b/src/tdm_helper.c index b8e0d1b..a22e0cc 100644 --- a/src/tdm_helper.c +++ b/src/tdm_helper.c @@ -592,7 +592,12 @@ tdm_helper_get_fd(const char *env) EXTERN void tdm_helper_set_fd(const char *env, int fd) { - TDM_INFO("DEPRECATED!"); + if (strncmp(env, "TBM_DRM_MASTER_FD", 17) && strncmp(env, "TDM_DRM_MASTER_FD", 17)) { + TDM_INFO("DEPRECATED! '%s'", env); + return; + } + + tbm_drm_helper_set_tbm_master_fd(fd); } EXTERN void