summaryrefslogtreecommitdiff
path: root/lib/drm.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2015-01-14 15:36:34 +1000
committerBen Skeggs <bskeggs@redhat.com>2015-01-19 15:42:03 +1000
commit7c92bfba4d743710dedb4b4c412ce0e62482cd72 (patch)
tree7f796da0446be3afdc85c5e159079fc63a56aa8f /lib/drm.c
parentf614350d44564f52b5e13ddfc5ab114cf35cfe4c (diff)
downloadnouveau-7c92bfba4d743710dedb4b4c412ce0e62482cd72.tar.gz
drm: finalise nvkm namespace switch (no binary change)
The namespace of NVKM is being changed to nvkm_ instead of nouveau_, which will be used for the DRM part of the driver. This is being done in order to make it very clear as to what part of the driver a given symbol belongs to, and as a minor step towards splitting the DRM driver out to be able to stand on its own (for virt). Because there's already a large amount of churn here anyway, this is as good a time as any to also switch to NVIDIA's device and chipset naming to ease collaboration with them. A comparison of objdump disassemblies proves no code changes. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'lib/drm.c')
-rw-r--r--lib/drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/drm.c b/lib/drm.c
index ac68e1f8d..a4aa53928 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, "nouveau"))
+ if (!strcmp(ver->name, "nvkm"))
break;
free(ver);
}