drm/nouveau/secboot: set default error value in error register
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 14 Dec 2016 08:02:48 +0000 (17:02 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 17 Feb 2017 05:14:32 +0000 (15:14 +1000)
commit45ef8450098fbb243ad65f590b965db1247d2d7e
tree0f41b4dd0329edb7253b3fbfae01f20018100123
parentb606234e2ffe0059055fcf38c087d5f71ca3b4b7
drm/nouveau/secboot: set default error value in error register

Set a default error value in the mailbox 0 register so we can catch
cases where the secure boot binary fails early without being able to
report anything.

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