gallium: remove ability to probe asahi

The asahi uapi is unstable. Do not attempt to probe on it.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29620>
This commit is contained in:
Alyssa Rosenzweig 2024-06-07 14:56:16 -04:00 committed by Marge Bot
parent 8c5c93acba
commit 08984e68fb
3 changed files with 0 additions and 26 deletions

View file

@ -88,7 +88,6 @@ static const struct drm_driver_descriptor *driver_descriptors[] = {
&vc4_driver_descriptor,
&panfrost_driver_descriptor,
&panthor_driver_descriptor,
&asahi_driver_descriptor,
&etnaviv_driver_descriptor,
&tegra_driver_descriptor,
&lima_driver_descriptor,
@ -314,9 +313,6 @@ pipe_loader_get_compatible_render_capable_device_fd(int kms_only_fd)
bool is_platform_device;
struct pipe_loader_device *dev;
const char * const drivers[] = {
#if defined GALLIUM_ASAHI
"asahi",
#endif
#if defined GALLIUM_ETNAVIV
"etnaviv",
#endif

View file

@ -348,27 +348,6 @@ DRM_DRIVER_DESCRIPTOR_STUB(panfrost)
DRM_DRIVER_DESCRIPTOR_STUB(panthor)
#endif
#ifdef GALLIUM_ASAHI
#include "asahi/drm/asahi_drm_public.h"
static struct pipe_screen *
pipe_asahi_create_screen(int fd, const struct pipe_screen_config *config)
{
struct pipe_screen *screen;
screen = asahi_drm_screen_create(fd, config);
return screen ? debug_screen_wrap(screen) : NULL;
}
const driOptionDescription asahi_driconf[] = {
#include "asahi/driinfo_asahi.h"
};
DRM_DRIVER_DESCRIPTOR(asahi, asahi_driconf, ARRAY_SIZE(asahi_driconf))
#else
DRM_DRIVER_DESCRIPTOR_STUB(asahi)
#endif
#ifdef GALLIUM_ETNAVIV
#include "etnaviv/drm/etnaviv_drm_public.h"

View file

@ -19,7 +19,6 @@ extern const struct drm_driver_descriptor v3d_driver_descriptor;
extern const struct drm_driver_descriptor vc4_driver_descriptor;
extern const struct drm_driver_descriptor panfrost_driver_descriptor;
extern const struct drm_driver_descriptor panthor_driver_descriptor;
extern const struct drm_driver_descriptor asahi_driver_descriptor;
extern const struct drm_driver_descriptor etnaviv_driver_descriptor;
extern const struct drm_driver_descriptor tegra_driver_descriptor;
extern const struct drm_driver_descriptor lima_driver_descriptor;