tbm_drm_helper_server: separate tbm-drm-auth server from main thread 91/285491/3
authorChangyeon Lee <cyeon.lee@samsung.com>
Tue, 13 Dec 2022 12:10:55 +0000 (21:10 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Wed, 14 Dec 2022 05:41:44 +0000 (14:41 +0900)
commita9552e141decb35a03abfb27116818be5d3a366f
tree9bc4c92cdad5e197d6445da10af55d4d0b4c7333
parent84d2beabc928286832b45041c0b98740a2e08dd1
tbm_drm_helper_server: separate tbm-drm-auth server from main thread

if main thread is busy, initializing tbm_bufmgr of client is delayed
because wl_display_roundtrip is called twice to get authenticated
DRM fd.

this patch creates a new wl_display and runs thread of tbm-drm-auth
socket.

Change-Id: I5db513f2ab97a8ef81c8e621e9f27f455b4f6355
src/tbm_drm_helper_server.c