summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-04-20 23:51:22 +0100
committerJakob Bornecrantz <[email protected]>2010-04-20 23:53:59 +0100
commit71595a5f3f503fdb134bf394239516fed0c1ffa1 (patch)
tree61ae59ae0010cfa6215b3211952bea90cf12a706 /src/gallium/state_trackers
parent8a0c99b379db2c7b7d1590553237560023d9f1e2 (diff)
st/egl: Use correct driver_name field to get kernel driver name
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/egl/kms/native_kms.c2
1 files changed, 1 insertions, 1 deletions
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;