drm/nouveau/secboot: add LS firmware post-run hooks
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 26 Oct 2016 06:15:42 +0000 (15:15 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 7 Mar 2017 07:05:12 +0000 (17:05 +1000)
commit0117b3369f669e6f6ab9cc408358ba745dfc6d26
treeeee0f72732c8e77d7fcfbf1443250305a09aa77b
parent9bb55bb79f480d6422db55f0ed5052d3b0a2d22e
drm/nouveau/secboot: add LS firmware post-run hooks

Add the ability for LS firmwares to declare a post-run hook that is
invoked right after the HS firmware is executed. This allows them to
e.g. write some initialization data into the falcon's DMEM.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.c
drivers/gpu/drm/nouveau/nvkm/subdev/secboot/acr_r352.h