gallium: enable dmabuf on BSD as well
authorGreg V <greg@unrelenting.technology>
Sun, 19 May 2019 21:17:17 +0000 (00:17 +0300)
committerEric Engestrom <eric@engestrom.ch>
Wed, 22 May 2019 13:20:31 +0000 (13:20 +0000)
commit506ebf55c0446e690c2f40471fce2d4ea2f9762d
tree9ec295b8571ed9c1319a1cd67c80caa4855b97ec
parented563b79df269e87fa622507d43d742f087c2817
gallium: enable dmabuf on BSD as well

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