summaryrefslogtreecommitdiffstats
path: root/src/loader/loader.h
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2016-09-12 17:48:18 +0100
committerEmil Velikov <[email protected]>2016-10-18 17:06:29 +0100
commitaf7abc512c422183a761ce3d687086abe282fa74 (patch)
tree149c76b7a7f738b2338dfc235b475dbad1939585 /src/loader/loader.h
parentf9f7e44c94f7eee4778768adf7afffba6c0581e7 (diff)
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 <[email protected]> Reviewed-by: Axel Davy <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/loader/loader.h')
-rw-r--r--src/loader/loader.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/loader/loader.h b/src/loader/loader.h
index 055dc786892..d404f5b67fc 100644
--- a/src/loader/loader.h
+++ b/src/loader/loader.h
@@ -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);