check the master_fd
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 7 Apr 2022 09:45:25 +0000 (18:45 +0900)
committerXuelian Bai <xuelian.bai@samsung.com>
Tue, 21 Feb 2023 06:50:49 +0000 (14:50 +0800)
commitfde99dd23b44d5aee5e85ca0e1a07ba623d5b418
treea1bae1eea7a9baef2668e0621c54d79ea34cede9
parent99af09c42fdec48d3f9df0178b205155cb831499
check the master_fd

Display Server(Enlightenment) always use the master_fd, so if the process can get the
master_fd from tbm_drm_helper_get_master_fd(), there is no need to get
the authentication information.
If the process does not have the master_fd, it needs to get the
authentication from the master process which is the Display
Server(Enlightenment).

Change-Id: Ib18113468b133c5335f1f280760383e40977062a
src/egl/drivers/dri2/platform_tizen.c