diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2015-01-13 23:11:21 -0500 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2015-01-21 21:17:49 -0500 |
commit | 5025407b9862349d17b1dff25737aaef6520a439 (patch) | |
tree | 6d11493365d06c00d79daf5818b42dfa2d421c1e /drivers/gpu/drm/nouveau/nouveau_nvif.c | |
parent | 989aa5b76ad2af7653353cf01bdebec2ba9436aa (diff) |
drm/nouveau/core: namespace + nvidia gpu names (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 'drivers/gpu/drm/nouveau/nouveau_nvif.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_nvif.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_nvif.c b/drivers/gpu/drm/nouveau/nouveau_nvif.c index 6544b84f0303..7f7bd329425e 100644 --- a/drivers/gpu/drm/nouveau/nouveau_nvif.c +++ b/drivers/gpu/drm/nouveau/nouveau_nvif.c | |||
@@ -70,7 +70,7 @@ nvkm_client_suspend(void *priv) | |||
70 | } | 70 | } |
71 | 71 | ||
72 | static void | 72 | static void |
73 | nvkm_client_fini(void *priv) | 73 | nvkm_client_driver_fini(void *priv) |
74 | { | 74 | { |
75 | struct nouveau_object *client = priv; | 75 | struct nouveau_object *client = priv; |
76 | nouveau_client_fini(nv_client(client), false); | 76 | nouveau_client_fini(nv_client(client), false); |
@@ -107,8 +107,8 @@ nvkm_client_ntfy(const void *header, u32 length, const void *data, u32 size) | |||
107 | } | 107 | } |
108 | 108 | ||
109 | static int | 109 | static int |
110 | nvkm_client_init(const char *name, u64 device, const char *cfg, | 110 | nvkm_client_driver_init(const char *name, u64 device, const char *cfg, |
111 | const char *dbg, void **ppriv) | 111 | const char *dbg, void **ppriv) |
112 | { | 112 | { |
113 | struct nouveau_client *client; | 113 | struct nouveau_client *client; |
114 | int ret; | 114 | int ret; |
@@ -125,8 +125,8 @@ nvkm_client_init(const char *name, u64 device, const char *cfg, | |||
125 | const struct nvif_driver | 125 | const struct nvif_driver |
126 | nvif_driver_nvkm = { | 126 | nvif_driver_nvkm = { |
127 | .name = "nvkm", | 127 | .name = "nvkm", |
128 | .init = nvkm_client_init, | 128 | .init = nvkm_client_driver_init, |
129 | .fini = nvkm_client_fini, | 129 | .fini = nvkm_client_driver_fini, |
130 | .suspend = nvkm_client_suspend, | 130 | .suspend = nvkm_client_suspend, |
131 | .resume = nvkm_client_resume, | 131 | .resume = nvkm_client_resume, |
132 | .ioctl = nvkm_client_ioctl, | 132 | .ioctl = nvkm_client_ioctl, |