summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nvkm/engine/mpeg/nv31.h
blob: 6bdd409d5769c3e8fc51769c99b7cb1b285631f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __NV31_MPEG_H__
#define __NV31_MPEG_H__
#include <engine/mpeg.h>
#include <engine/fifo.h>

struct nv31_mpeg_chan {
	struct nvkm_object base;
	struct nvkm_fifo_chan *fifo;
};

struct nv31_mpeg {
	struct nvkm_mpeg base;
	struct nv31_mpeg_chan *chan;
	bool (*mthd_dma)(struct nvkm_device *, u32 mthd, u32 data);
};
#endif