Change-Id: Iab3be64d490dd0e8592dc57d413877e37e107fa1
Signed-off-by: Joonbum Ko <joonbum.ko@samsung.com>
display = __tpl_runtime_find_display(type, native_dpy);
/* If tpl_display already exists, then return it */
- TPL_CHECK_ON_TRUE_RETURN_VAL(display, display);
+ if (display) {
+ TPL_LOG_F("already initialized display(%p)", display);
+ return display;
+ }
/* if backend is unknown, try to find the best match from the list of supported types */
if (TPL_BACKEND_UNKNOWN == type)