drm/nv50-/sw: use nv50_software_context_dtor....
authorBen Skeggs <bskeggs@redhat.com>
Thu, 7 Aug 2014 21:21:53 +0000 (07:21 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Sat, 9 Aug 2014 19:12:53 +0000 (05:12 +1000)
You would not believe the troubles this caused me...

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/engine/software/nv50.c
drivers/gpu/drm/nouveau/core/engine/software/nvc0.c

index f3b4d9d..c150fff 100644 (file)
@@ -198,7 +198,7 @@ nv50_software_cclass = {
        .base.handle = NV_ENGCTX(SW, 0x50),
        .base.ofuncs = &(struct nouveau_ofuncs) {
                .ctor = nv50_software_context_ctor,
-               .dtor = _nouveau_software_context_dtor,
+               .dtor = nv50_software_context_dtor,
                .init = _nouveau_software_context_init,
                .fini = _nouveau_software_context_fini,
        },
index 135c20f..6be97b0 100644 (file)
@@ -124,7 +124,7 @@ nvc0_software_cclass = {
        .base.handle = NV_ENGCTX(SW, 0xc0),
        .base.ofuncs = &(struct nouveau_ofuncs) {
                .ctor = nv50_software_context_ctor,
-               .dtor = _nouveau_software_context_dtor,
+               .dtor = nv50_software_context_dtor,
                .init = _nouveau_software_context_init,
                .fini = _nouveau_software_context_fini,
        },