Beignet is an open source implementation of the OpenCL specification - a generic compute oriented API. Here is Beignet Source Code Mirror in github- This is a publish-only repository and all pull requests are ignored. Please follow https://wiki.freedesktop.org/www/Software/Beignet/ for any of your improvements
When we are using Wayland, XOpenDisplay succeeds because of XWayland.
However VA_DRI2QueryExtension for that display fails, and we give up
initializing beignet on Wayland environment. This patch changes this
initialization strategy: falling back to using DRM render nodes or
DRM nodes. In the future, we should have code handling Wayland display
before starting X11 path.
When we are using Wayland, XOpenDisplay succeeds because of XWayland. However VA_DRI2QueryExtension for that display fails, and we give up initializing beignet on Wayland environment. This patch changes this initialization strategy: falling back to using DRM render nodes or DRM nodes. In the future, we should have code handling Wayland display before starting X11 path.