xref: /linux/drivers/gpu/drm/nouveau/include/nvkm/engine/sec2.h (revision 17cfcb68af3bc7d5e8ae08779b1853310a2949f3)
1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NVKM_SEC2_H__
3 #define __NVKM_SEC2_H__
4 #include <core/engine.h>
5 
6 struct nvkm_sec2 {
7 	struct nvkm_engine engine;
8 	u32 addr;
9 
10 	struct nvkm_falcon *falcon;
11 	struct nvkm_msgqueue *queue;
12 	struct work_struct work;
13 };
14 
15 int gp102_sec2_new(struct nvkm_device *, int, struct nvkm_sec2 **);
16 int tu102_sec2_new(struct nvkm_device *, int, struct nvkm_sec2 **);
17 #endif
18