tbm_drm_helper_server: separate tbm-drm-auth server from main thread 24/285524/2
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:47:24 +0000 (14:47 +0900)
commitbaa3a82aa4761699847b70b09348189b92b789c9
tree9bc4c92cdad5e197d6445da10af55d4d0b4c7333
parenta7211974ccf9621784a71da6c055632548ecf4a0
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