xref: /openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/priv.h (revision f97cee494dc92395a668445bcd24d34c89f4ff8c)
1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NVKM_GSP_PRIV_H__
3 #define __NVKM_GSP_PRIV_H__
4 #include <subdev/gsp.h>
5 enum nvkm_acr_lsf_id;
6 
7 struct nvkm_gsp_fwif {
8 	int version;
9 	int (*load)(struct nvkm_gsp *, int ver, const struct nvkm_gsp_fwif *);
10 	const struct nvkm_falcon_func *flcn;
11 };
12 
13 int nvkm_gsp_new_(const struct nvkm_gsp_fwif *, struct nvkm_device *, int,
14 		  struct nvkm_gsp **);
15 #endif
16