[Mesa-dev] [PATCH] pipe_loader: Try to connect with the X server before probing pciids v2
Michel Dänzer
michel at daenzer.net
Wed Jul 18 09:42:03 PDT 2012
On Mit, 2012-07-18 at 12:28 -0400, Tom Stellard wrote:
> When X is running it is neccesary for pipe_loader to authenticate with
> DRM, in order to be able to use the device.
>
> This makes it possible to run OpenCL programs while X is running.
>
> v2:
> - Fix C++ style comments
> - Drop Xlib-xcb dependency
> - Close the X connection when done
> - Split auth code into separate function
[...]
> diff --git a/configure.ac b/configure.ac
> index 10216a3..35cc579 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -2084,6 +2084,12 @@ if test "x$enable_gallium_loader" = xyes; then
>
> if test "x$enable_gallium_drm_loader" = xyes; then
> GALLIUM_PIPE_LOADER_DEFINES="$GALLIUM_PIPE_LOADER_DEFINES -DHAVE_PIPE_LOADER_DRM"
> + PKG_CHECK_MODULES([GALLIUM_PIPE_LOADER_XCB], [x11-xcb xcb-dri2],
This should check for xcb instead of x11-xcb. With that fixed,
Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>
--
Earthling Michel Dänzer | http://www.amd.com
Libre software enthusiast | Debian, X and DRI developer
More information about the mesa-dev
mailing list