xref: /openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/engine/nvdec.h (revision 28efb0046512e8a13ed9f9bdf0d68d10bbfbe9cf)
1 #ifndef __NVKM_NVDEC_H__
2 #define __NVKM_NVDEC_H__
3 #define nvkm_nvdec(p) container_of((p), struct nvkm_nvdec, engine)
4 #include <core/engine.h>
5 
6 struct nvkm_nvdec {
7 	struct nvkm_engine engine;
8 	struct nvkm_falcon *falcon;
9 };
10 
11 int gp102_nvdec_new(struct nvkm_device *, int, struct nvkm_nvdec **);
12 #endif
13