From: Jakob Bornecrantz Date: Tue, 20 Apr 2010 22:51:22 +0000 (+0100) Subject: st/egl: Use correct driver_name field to get kernel driver name X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=71595a5f3f503fdb134bf394239516fed0c1ffa1;p=mesa.git st/egl: Use correct driver_name field to get kernel driver name --- diff --git a/src/gallium/state_trackers/egl/kms/native_kms.c b/src/gallium/state_trackers/egl/kms/native_kms.c index 79645865f3b..caf5628134d 100644 --- a/src/gallium/state_trackers/egl/kms/native_kms.c +++ b/src/gallium/state_trackers/egl/kms/native_kms.c @@ -695,7 +695,7 @@ kms_display_init_screen(struct native_display *ndpy) struct drm_create_screen_arg arg; int fd; - fd = drmOpen(kdpy->api->name, NULL); + fd = drmOpen(kdpy->api->driver_name, NULL); if (fd < 0) { _eglLog(_EGL_WARNING, "failed to open DRM device"); return FALSE;