9ec9849c85
Since commit "pipe-loader: add pipe_loader_get_compatible_render_capable_device_fd()", we have a function to query a render-only driver that is available and is compatible with the KMS-only device. So start to use it, instead of selecting whatever render-only driver is available to use. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com> Reviewed-by: Simon Ser <contact@emersion.fr> Reviewed-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24825>