summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/gbm/gbm.c
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2014-01-27 10:34:16 -0500
committerTom Stellard <[email protected]>2014-02-13 19:53:15 -0500
commit8481d208cee0e10250d5f34487defec414470bb5 (patch)
treeb737362d4e1b320f387102d18b6b2b8759653cc9 /src/gallium/targets/gbm/gbm.c
parent0320ba9988f370957bb029e846f51d485dd606f4 (diff)
pipe-loader: Add auth_x parameter to pipe_loader_drm_probe_fd()
The caller can use this boolean parameter to tell the pipe-loader to authenticate with the X server when probing a file descriptor.
Diffstat (limited to 'src/gallium/targets/gbm/gbm.c')
-rw-r--r--src/gallium/targets/gbm/gbm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/gbm/gbm.c b/src/gallium/targets/gbm/gbm.c
index 8f460573b56..deaa401ad11 100644
--- a/src/gallium/targets/gbm/gbm.c
+++ b/src/gallium/targets/gbm/gbm.c
@@ -52,7 +52,7 @@ gallium_screen_create(struct gbm_gallium_drm_device *gdrm)
#ifdef HAVE_PIPE_LOADER_DRM
int ret;
- ret = pipe_loader_drm_probe_fd(&dev, gdrm->base.base.fd);
+ ret = pipe_loader_drm_probe_fd(&dev, gdrm->base.base.fd, true);
if (!ret)
return -1;
#endif /* HAVE_PIPE_LOADER_DRM */