drm/nouveau/secboot: fix WPR descriptor generation
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 14 Dec 2016 08:02:49 +0000 (17:02 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 17 Feb 2017 05:14:32 +0000 (15:14 +1000)
commit64a94ded890a2e4e5701ac34868180c2d895874a
treef254fac58a95890f53e87d104a25939a44ce5d0c
parent45ef8450098fbb243ad65f590b965db1247d2d7e
drm/nouveau/secboot: fix WPR descriptor generation

Generate the WPR descriptor closer to what RM does. In particular, set
the expected masks, and only set the ucode members on Tegra.

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