xref: /linux/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/priv.h (revision a940daa52167e9db8ecce82213813b735a9d9f23)
1b7019ac5SIlia Mirkin /* SPDX-License-Identifier: MIT */
2218f978dSBen Skeggs #ifndef __NVKM_MPEG_PRIV_H__
3218f978dSBen Skeggs #define __NVKM_MPEG_PRIV_H__
4218f978dSBen Skeggs #include <engine/mpeg.h>
5*c546656fSBen Skeggs struct nvkm_chan;
6218f978dSBen Skeggs 
77624fc01SBen Skeggs int nv31_mpeg_init(struct nvkm_engine *);
87624fc01SBen Skeggs void nv31_mpeg_tile(struct nvkm_engine *, int, struct nvkm_fb_tile *);
9218f978dSBen Skeggs extern const struct nvkm_object_func nv31_mpeg_object;
10218f978dSBen Skeggs 
117624fc01SBen Skeggs bool nv40_mpeg_mthd_dma(struct nvkm_device *, u32, u32);
127624fc01SBen Skeggs 
137624fc01SBen Skeggs int nv50_mpeg_init(struct nvkm_engine *);
147624fc01SBen Skeggs void nv50_mpeg_intr(struct nvkm_engine *);
157624fc01SBen Skeggs 
16218f978dSBen Skeggs extern const struct nvkm_object_func nv50_mpeg_cclass;
17218f978dSBen Skeggs #endif
18