drm/nouveau/secboot: workaround bug when starting SEC2 firmware
authorAlexandre Courbot <acourbot@nvidia.com>
Thu, 16 Feb 2017 06:13:49 +0000 (15:13 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 7 Mar 2017 07:05:15 +0000 (17:05 +1000)
commitec91cb028511d68193c792f27a1bcd8d3e756280
treec000e1730828c51c3180c6a4b5bed8a19197d1b3
parentc5e1fef4875b75df48a7e9828243062799e444dc
drm/nouveau/secboot: workaround bug when starting SEC2 firmware

For some unknown reason the LS SEC2 firmware needs to be started twice
to operate. Detect and address that condition.

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