OpenCloudOS-Kernel/drivers/gpu/drm/nouveau/nvkm
Alexandre Courbot c93cfe35c4 drm/nouveau/secboot: let callers interpret return value of blobs
Since the HS blobs are provided and signed by NVIDIA, we cannot expect
always-consistent behavior. In this case, on GP10x the unload blob may
return 0x1d even though things have run perfectly well. This behavior
has been confirmed by NVIDIA.

So let the callers of the run_blob() hook receive the blob return's
value (a positive integer) and decide what it means. This allows us to
workaround the 0x1d code instead of issuing an error.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2017-03-07 17:05:13 +10:00
..
core drm/nouveau/core: add SEC2 engine 2017-03-07 17:05:13 +10:00
engine drm/nouveau/core: add SEC2 engine 2017-03-07 17:05:13 +10:00
falcon drm/nouveau/falcon/msgqueue: add SEC2 support 2017-03-07 17:05:13 +10:00
subdev drm/nouveau/secboot: let callers interpret return value of blobs 2017-03-07 17:05:13 +10:00
Kbuild drm/nouveau/core: add falcon library functions 2017-02-17 15:14:30 +10:00