summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2016-06-08 17:32:38 +0900
committerBen Skeggs <bskeggs@redhat.com>2016-07-06 06:55:29 +1000
commita8efc0264a809edcf8df8b0bfbe5b6940afe4c9a (patch)
tree51c0b3057eb9c02b108750c034b877f10d7c506c
parentad6de07b85a29b2c01472fdd1d209665b356d2e5 (diff)
downloadnouveau-a8efc0264a809edcf8df8b0bfbe5b6940afe4c9a.tar.gz
secboot: fix kerneldoc for secure boot structures
Some members were documented in the wrong structure. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r--drm/nouveau/nvkm/subdev/secboot/priv.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/drm/nouveau/nvkm/subdev/secboot/priv.h b/drm/nouveau/nvkm/subdev/secboot/priv.h
index f2b09dee7..110ce6488 100644
--- a/drm/nouveau/nvkm/subdev/secboot/priv.h
+++ b/drm/nouveau/nvkm/subdev/secboot/priv.h
@@ -147,10 +147,7 @@ struct hsflcn_acr_desc {
* @inst: instance block for HS falcon
* @pgd: page directory for the HS falcon
* @vm: address space used by the HS falcon
- * @bl_desc_size: size of the BL descriptor used by this chip.
- * @fixup_bl_desc: hook that generates the proper BL descriptor format from
- * the generic GM200 format into a data array of size
- * bl_desc_size
+ * @falcon_state: current state of the managed falcons
*/
struct gm200_secboot {
struct nvkm_secboot base;
@@ -199,6 +196,14 @@ struct gm200_secboot {
};
#define gm200_secboot(sb) container_of(sb, struct gm200_secboot, base)
+/**
+ * Contains functions we wish to abstract between GM200-like implementations
+ * @bl_desc_size: size of the BL descriptor used by this chip.
+ * @fixup_bl_desc: hook that generates the proper BL descriptor format from
+ * the generic GM200 format into a data array of size
+ * bl_desc_size
+ * @fixup_hs_desc: hook that twiddles the HS descriptor before it is used
+ */
struct gm200_secboot_func {
/*
* Size of the bootloader descriptor for this chip. A block of this