projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed563b7
)
gallium: enable dmabuf on BSD as well
author
Greg V
<greg@unrelenting.technology>
Sun, 19 May 2019 21:17:17 +0000
(
00:17
+0300)
committer
Eric Engestrom
<eric@engestrom.ch>
Wed, 22 May 2019 13:20:31 +0000
(13:20 +0000)
The DRM_CONF_SHARE_FD code did not check for Linux, so the commit that
introduced PIPE_CAP_DMABUF broke Wayland-EGL clients on FreeBSD.
Fixes: 8ae50e60 (gallium: replace DRM_CONF_SHARE_FD with PIPE_CAP_DMABUF)
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/gallium/auxiliary/util/u_screen.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_screen.c
b/src/gallium/auxiliary/util/u_screen.c
index b3a5a93e4f7bb7eee82d90f8b993fd1a74757228..62a6a24ff249a4d19fa2884f09fbbbdbb9f91b82 100644
(file)
--- a/
src/gallium/auxiliary/util/u_screen.c
+++ b/
src/gallium/auxiliary/util/u_screen.c
@@
-360,7
+360,7
@@
u_pipe_screen_get_param_defaults(struct pipe_screen *pscreen,
return 1;
case PIPE_CAP_DMABUF:
-#if
def PIPE_OS_LINUX
+#if
defined(PIPE_OS_LINUX) || defined(PIPE_OS_BSD)
return 1;
#else
return 0;