From 6e1f846ce09e93d2a6157da1587b546080e48211 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Wed, 24 Sep 2014 10:39:20 +0100 Subject: targets/pipe-loader: drop unused authentication The dri, vdpau, omx, xvmc and gbm targets don't need any authentication even the VL ones never used it. Either the respective loader or the library itself (vl) is doing its auth prior to calling create_screen() Signed-off-by: Emil Velikov Acked-by: Matt Turner --- src/gallium/state_trackers/gbm/gbm_drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/state_trackers/gbm') diff --git a/src/gallium/state_trackers/gbm/gbm_drm.c b/src/gallium/state_trackers/gbm/gbm_drm.c index 95b07eff901..bba3c05f4c6 100644 --- a/src/gallium/state_trackers/gbm/gbm_drm.c +++ b/src/gallium/state_trackers/gbm/gbm_drm.c @@ -273,7 +273,7 @@ gbm_gallium_drm_device_create(int fd) gdrm->screen = dd_create_screen(gdrm->base.base.fd); #else #ifdef HAVE_PIPE_LOADER_DRM - if (pipe_loader_drm_probe_fd(&gdrm->dev, gdrm->base.base.fd, true)) + if (pipe_loader_drm_probe_fd(&gdrm->dev, gdrm->base.base.fd, false)) gdrm->screen = pipe_loader_create_screen(gdrm->dev, get_library_search_path()); #endif /* HAVE_PIPE_LOADER_DRM */ -- cgit v1.2.3