mesa/src/gallium/targets
Emil Velikov 6ccc435e7a pipe-loader: move dup(fd) within pipe_loader_drm_probe_fd
Currently pipe_loader_drm_probe_fd takes ownership of the fd given.
To match that, pipe_loader_release closes it.

Yet we have many instances which do not want the change of ownership,
and thus duplicate the fd before passing it to the pipe-loader.

Move the dup() within pipe-loader, explicitly document that and document
all the cases through the codebase.

A trivial git grep -2 pipe_loader_release makes things as obvious as it
gets ;-)

Cc: Leo Liu <leo.liu@amd.com>
Cc: Thomas Hellstrom <thellstrom@vmware.com>
Cc: Axel Davy <davyaxel0@gmail.com>
Cc: Patrick Rudolph <siro@das-labor.org>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Axel Davy <davyaxel0@gmail.com> (for nine)
2018-10-03 13:38:05 +01:00
..
d3dadapter9 pipe-loader: move dup(fd) within pipe_loader_drm_probe_fd 2018-10-03 13:38:05 +01:00
dri meson: Run the install script with Python 3 2018-08-23 12:12:06 +01:00
graw-gdi gallium: move ddebug, noop, rbug, trace to auxiliary to improve build times 2018-04-13 14:08:14 -04:00
graw-null meson: build graw tests 2018-04-18 09:03:57 -07:00
graw-xlib meson: fix graw-xlib after auxiliary consolidation 2018-04-24 14:08:15 -07:00
haiku-softpipe gallium: move ddebug, noop, rbug, trace to auxiliary to improve build times 2018-04-13 14:08:14 -04:00
libgl-gdi gallium: move ddebug, noop, rbug, trace to auxiliary to improve build times 2018-04-13 14:08:14 -04:00
libgl-xlib build: Don't overlink gallium xlib target 2018-09-17 13:21:01 -07:00
omx st/omx/tizonia: Add --enable-omx-tizonia flag and build files 2018-03-06 14:29:42 +00:00
opencl opencl: autotools: Fix linking order for OpenCL target 2018-05-14 22:45:01 -04:00
osmesa gallium/osmesa: link with winsock2 library on Windows 2018-04-13 19:06:55 -06:00
pipe-loader gallium: move ddebug, noop, rbug, trace to auxiliary to improve build times 2018-04-13 14:08:14 -04:00
va meson: Run the install script with Python 3 2018-08-23 12:12:06 +01:00
vdpau meson: Run the install script with Python 3 2018-08-23 12:12:06 +01:00
xa meson: Set .so version for xa like autotools does 2018-04-05 10:46:14 -07:00
xvmc meson: Run the install script with Python 3 2018-08-23 12:12:06 +01:00
dri-vdpau.dyn winsys/amdgpu: add a new winsys for the new kernel driver 2015-08-14 15:02:28 +02:00