loader: remove loader_get_driver_for_fd() driver_type
authorEmil Velikov <emil.velikov@collabora.com>
Mon, 12 Sep 2016 16:48:18 +0000 (17:48 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 18 Oct 2016 16:06:29 +0000 (17:06 +0100)
commitaf7abc512c422183a761ce3d687086abe282fa74
tree149c76b7a7f738b2338dfc235b475dbad1939585
parentf9f7e44c94f7eee4778768adf7afffba6c0581e7
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>
12 files changed:
src/egl/drivers/dri2/platform_android.c
src/egl/drivers/dri2/platform_surfaceless.c
src/egl/drivers/dri2/platform_wayland.c
src/egl/drivers/dri2/platform_x11.c
src/egl/drivers/dri2/platform_x11_dri3.c
src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
src/gbm/backends/dri/gbm_dri.c
src/glx/dri2_glx.c
src/glx/dri3_glx.c
src/loader/loader.c
src/loader/loader.h
src/loader/pci_id_driver_map.h