lavapipe: add support for non-dri loader on linux
authorDave Airlie <airlied@redhat.com>
Thu, 4 Mar 2021 05:49:51 +0000 (15:49 +1000)
committerMarge Bot <eric+marge@anholt.net>
Tue, 20 Apr 2021 01:00:54 +0000 (01:00 +0000)
commit6d3ded799550d447aaef4de52c017c3feb32b786
tree48dfdf59ce1d8de16b1acb481db83d792e866404
parent1d144f7f58eefb09a47c14561dd541f123dd222b
lavapipe: add support for non-dri loader on linux

If you build --glx=gallium-xlib then lavapipe will fail to
link this should let it use the non-dri paths on Linux in that
case

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Tested-by: Brian Paul <brianp@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9400>
src/gallium/frontends/lavapipe/lvp_device.c