xref: /linux/drivers/gpu/drm/nouveau/nvkm/engine/ce/priv.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: MIT */
2 #ifndef __NVKM_CE_PRIV_H__
3 #define __NVKM_CE_PRIV_H__
4 #include <engine/ce.h>
5 
6 int r535_ce_new(const struct nvkm_engine_func *, struct nvkm_device *,
7 		enum nvkm_subdev_type, int, struct nvkm_engine **);
8 
9 void gt215_ce_intr(struct nvkm_falcon *, struct nvkm_chan *);
10 void gk104_ce_intr(struct nvkm_engine *);
11 void gp100_ce_intr(struct nvkm_engine *);
12 
13 extern const struct nvkm_object_func gv100_ce_cclass;
14 
15 int ga100_ce_oneinit(struct nvkm_engine *);
16 int ga100_ce_init(struct nvkm_engine *);
17 int ga100_ce_fini(struct nvkm_engine *, bool);
18 int ga100_ce_nonstall(struct nvkm_engine *);
19 #endif
20