diff options
author | Benjamin Franzke <[email protected]> | 2011-02-04 12:38:58 +0100 |
---|---|---|
committer | Benjamin Franzke <[email protected]> | 2011-02-07 14:01:31 +0100 |
commit | 9630437fc9f46f48b2543ca8b6741a664bd028e3 (patch) | |
tree | 913345e44bf7f5787ce1ed1df1ffd113c401d3be /src/egl/drivers/dri2 | |
parent | a8128d7d4b7b89d483ead0003140af68a1c95ebf (diff) |
egl_dri2: Export dri2_get_driver_for_fd
Diffstat (limited to 'src/egl/drivers/dri2')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.h | 3 | ||||
-rw-r--r-- | src/egl/drivers/dri2/platform_drm.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h index 2212404cc04..f65319d2e9c 100644 --- a/src/egl/drivers/dri2/egl_dri2.h +++ b/src/egl/drivers/dri2/egl_dri2.h @@ -136,4 +136,7 @@ dri2_initialize_x11(_EGLDriver *drv, _EGLDisplay *disp); EGLBoolean dri2_initialize_drm(_EGLDriver *drv, _EGLDisplay *disp); +char * +dri2_get_driver_for_fd(int fd); + #endif /* EGL_DRI2_INCLUDED */ diff --git a/src/egl/drivers/dri2/platform_drm.c b/src/egl/drivers/dri2/platform_drm.c index 12ab1e0c4c1..431bfa0fcc6 100644 --- a/src/egl/drivers/dri2/platform_drm.c +++ b/src/egl/drivers/dri2/platform_drm.c @@ -567,7 +567,7 @@ const struct dri2_driver_map driver_map[] = { { 0x1002, "r600", r600_chip_ids, ARRAY_SIZE(r600_chip_ids) }, }; -static char * +char * dri2_get_driver_for_fd(int fd) { struct udev *udev; |