drm/nouveau/secboot: add shadow blob argument
authorAlexandre Courbot <acourbot@nvidia.com>
Tue, 15 Nov 2016 07:28:37 +0000 (16:28 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 7 Mar 2017 07:05:13 +0000 (17:05 +1000)
commite9462417f1fedec381dd148cbc1d29d21bec4500
tree9ee3a840472ef28832ccbe1ba7e627c335be9c36
parent9706d8f9d1ebc499192f8974abba03acdcf1094a
drm/nouveau/secboot: add shadow blob argument

ACR firmware from r364 on need a shadow region for the ACR to copy the
WPR region into. Add a flag to indicate that a shadow region is required
and manage memory allocations accordingly.

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