drm/nouveau/secboot/gm200: make firmware loading re-callable
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 8 Jun 2016 08:32:40 +0000 (17:32 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 14 Jul 2016 01:53:25 +0000 (11:53 +1000)
commit4f3c15569e9e927ebbed6da4a2281f5d8a292a90
treecdbcfdb5e2353b7e6962e23cfa03fa4aae26dae8
parent7fcab839015d67b35de0b7031ed074e3ebe708f8
drm/nouveau/secboot/gm200: make firmware loading re-callable

Make it possible to call gm20x_secboot_prepare_blobs() several times
after either success or failure without re-building already existing
blobs. The function will now try to load firmware files that have
previously failed before returning success.

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