From 71595a5f3f503fdb134bf394239516fed0c1ffa1 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Tue, 20 Apr 2010 23:51:22 +0100 Subject: [PATCH] st/egl: Use correct driver_name field to get kernel driver name --- src/gallium/state_trackers/egl/kms/native_kms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2