drm/nouveau/gr/gf100: instantiate and reserve GR falcons
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 13 Dec 2016 08:11:30 +0000 (17:11 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 17 Feb 2017 05:14:31 +0000 (15:14 +1000)
commit89cd6e2071b3d3bc4635fe41461e2bb75b5f2d2d
treef09937dcbbdf0534a2ed38235cc8474f18436c2c
parent0296b5d985a030a99dcf2057b5eac1461637c7ee
drm/nouveau/gr/gf100: instantiate and reserve GR falcons

Create instances for the FECS and GPCCS falcons and use the init() and
fini() hooks to reserve them for as long as GR controls them.

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