drm/nouveau/gr: add fini() hook
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 13 Dec 2016 08:11:28 +0000 (17:11 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 17 Feb 2017 05:14:31 +0000 (15:14 +1000)
commitd2753f40a947229cf2c8075ed93479159c1af1c1
treeb7918d7d8ec3b2cb2c7a76feb6d00e0b7299aaa1
parentd72fb36c45698b9f49a1159eb1a3eb46235d3586
drm/nouveau/gr: add fini() hook

Add a fini() hook to the GR engine. This will be used by gf100+ to
properly release the FECS and GPCCS falcons.

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