xref: /openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h (revision 4f727ecefefbd180de10e25b3e74c03dce3f1e75)
1 #ifndef __NVKM_GSP_H__
2 #define __NVKM_GSP_H__
3 #define nvkm_gsp(p) container_of((p), struct nvkm_gsp, subdev)
4 #include <core/subdev.h>
5 
6 struct nvkm_gsp {
7 	struct nvkm_subdev subdev;
8 	u32 addr;
9 
10 	struct nvkm_falcon *falcon;
11 };
12 
13 int gv100_gsp_new(struct nvkm_device *, int, struct nvkm_gsp **);
14 #endif
15