projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pipe-loader: move dup(fd) within pipe_loader_drm_probe_fd
[mesa.git]
/
src
/
gallium
/
auxiliary
/
pipe-loader
/
pipe_loader.h
diff --git
a/src/gallium/auxiliary/pipe-loader/pipe_loader.h
b/src/gallium/auxiliary/pipe-loader/pipe_loader.h
index b50114310b4a43e58658adf2e2633e4dda9e22f7..be7e25afb0276c3704868b2757c5459ebc0db7e4 100644
(file)
--- a/
src/gallium/auxiliary/pipe-loader/pipe_loader.h
+++ b/
src/gallium/auxiliary/pipe-loader/pipe_loader.h
@@
-146,6
+146,9
@@
pipe_loader_sw_probe_dri(struct pipe_loader_device **devs,
*
* This function is platform-specific.
*
+ * Function does not take ownership of the fd, but duplicates it locally.
+ * The local fd is closed during pipe_loader_release.
+ *
* \sa pipe_loader_probe
*/
bool