summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2015-02-06 09:36:12 +1000
committerBen Skeggs <bskeggs@redhat.com>2015-03-17 09:45:11 +1000
commit2554d7a3d6cb044ecba39f2f81fd3b83ce65b83d (patch)
tree2a3b86e186dba27530043c09ced783f6b7b9c4f3 /lib
parent8e08e14ce8731ce1870b2980728a56302eb2f17e (diff)
downloadnouveau-2554d7a3d6cb044ecba39f2f81fd3b83ce65b83d.tar.gz
lib: fix drm backend
Diffstat (limited to 'lib')
-rw-r--r--lib/drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/drm.c b/lib/drm.c
index a4aa53928..ac68e1f8d 100644
--- a/lib/drm.c
+++ b/lib/drm.c
@@ -179,7 +179,7 @@ drm_client_init(const char *name, u64 device, const char *cfg,
continue;
if ((ver = drmGetVersion(drm->fd)) == NULL)
continue;
- if (!strcmp(ver->name, "nvkm"))
+ if (!strcmp(ver->name, "nouveau"))
break;
free(ver);
}