loader: remove loader_get_driver_for_fd() driver_type
Reminiscent from the pre-loader days, were we had multiple instances of the loader logic in separate places and one could build a "GALLIUM_ONLY" version. Since that is no longer the case and the loaders (glx/egl/gbm) do not (and should not) require to know any classic/gallium specific we can drop the argument and the related code. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Axel Davy <axel.davy@ens.fr> Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:

committed by
Emil Velikov

parent
f9f7e44c94
commit
af7abc512c
@@ -780,7 +780,7 @@ dri3_create_screen(int screen, struct glx_display * priv)
|
||||
psc->fd = loader_get_user_preferred_fd(psc->fd, &psc->is_different_gpu);
|
||||
deviceName = NULL;
|
||||
|
||||
driverName = loader_get_driver_for_fd(psc->fd, 0);
|
||||
driverName = loader_get_driver_for_fd(psc->fd);
|
||||
if (!driverName) {
|
||||
ErrorMessageF("No driver found\n");
|
||||
goto handle_error;
|
||||
|
Reference in New Issue
Block a user