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
+1
-4
@@ -33,9 +33,6 @@ extern "C" {
|
||||
|
||||
/* Helpers to figure out driver and device name, eg. from pci-id, etc. */
|
||||
|
||||
#define _LOADER_DRI (1 << 0)
|
||||
#define _LOADER_GALLIUM (1 << 1)
|
||||
|
||||
int
|
||||
loader_open_device(const char *);
|
||||
|
||||
@@ -43,7 +40,7 @@ int
|
||||
loader_get_pci_id_for_fd(int fd, int *vendor_id, int *chip_id);
|
||||
|
||||
char *
|
||||
loader_get_driver_for_fd(int fd, unsigned driver_types);
|
||||
loader_get_driver_for_fd(int fd);
|
||||
|
||||
char *
|
||||
loader_get_device_name_for_fd(int fd);
|
||||
|
||||
Reference in New Issue
Block a user