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