drm/nouveau/gr/gk20a: move firmware bundle release to gf100
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 24 Feb 2016 05:42:15 +0000 (14:42 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 14 Mar 2016 00:13:19 +0000 (10:13 +1000)
commit336c46524fcd822aaef3ede92b56bb4367b4538f
tree25a34b5439e2a19a72a3b8b13e4ea02e2ac66818
parent5d2083d2f9f144024787da8296a14ed052849853
drm/nouveau/gr/gk20a: move firmware bundle release to gf100

Some members of gf100_gr were freed by the gk20a driver. That's not
where it should be done - free them in gf100 so other chips that use
NVIDIA-provided firmware free these structures properly.

This also removes the need for a GK20A-specific destructor.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.h
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c
drivers/gpu/drm/nouveau/nvkm/engine/gr/gm20b.c