projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8a1665
)
targets/nine: add note about fd owndership
author
Emil Velikov
<emil.l.velikov@gmail.com>
Wed, 14 Oct 2015 15:49:59 +0000
(16:49 +0100)
committer
Emil Velikov
<emil.l.velikov@gmail.com>
Sat, 21 Nov 2015 12:52:21 +0000
(12:52 +0000)
v2:
- move autotools hunk into correct patch
- correct the note based on Axel's feedback
Cc: Axel Davy <axel.davy@ens.fr>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Rob Clark <robclark@freedesktop.org>
src/gallium/targets/d3dadapter9/drm.c
patch
|
blob
|
history
diff --git
a/src/gallium/targets/d3dadapter9/drm.c
b/src/gallium/targets/d3dadapter9/drm.c
index c890191124e0534de9083c9b1191eb692e6e8db4..84cfb943eaf770a853f5ca433aa7636ee7cccbbb 100644
(file)
--- a/
src/gallium/targets/d3dadapter9/drm.c
+++ b/
src/gallium/targets/d3dadapter9/drm.c
@@
-216,6
+216,8
@@
drm_create_adapter( int fd,
ctx->base.destroy = drm_destroy;
+ /* Although the fd is provided from external source, mesa/nine
+ * takes ownership of it. */
fd = loader_get_user_preferred_fd(fd, &different_device);
ctx->fd = fd;
ctx->base.linear_framebuffer = !!different_device;