Commit 8ed1730c authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau/nvif: split out fifo interface definitions



Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 7568b106
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
#ifndef __NVIF_CL006B_H__
#define __NVIF_CL006B_H__

struct nv03_channel_dma_v0 {
	__u8  version;
	__u8  chid;
	__u8  pad02[2];
	__u32 offset;
	__u64 pushbuf;
};
#endif
+12 −0
Original line number Diff line number Diff line
#ifndef __NVIF_CL506E_H__
#define __NVIF_CL506E_H__

struct nv50_channel_dma_v0 {
	__u8  version;
	__u8  chid;
	__u8  pad02[6];
	__u64 vm;
	__u64 pushbuf;
	__u64 offset;
};
#endif
+13 −0
Original line number Diff line number Diff line
#ifndef __NVIF_CL506F_H__
#define __NVIF_CL506F_H__

struct nv50_channel_gpfifo_v0 {
	__u8  version;
	__u8  chid;
	__u8  pad02[2];
	__u32 ilength;
	__u64 ioffset;
	__u64 pushbuf;
	__u64 vm;
};
#endif
+14 −0
Original line number Diff line number Diff line
#ifndef __NVIF_CL826E_H__
#define __NVIF_CL826E_H__

struct g82_channel_dma_v0 {
	__u8  version;
	__u8  chid;
	__u8  pad02[6];
	__u64 vm;
	__u64 pushbuf;
	__u64 offset;
};

#define G82_CHANNEL_DMA_V0_NTFY_UEVENT                                     0x00
#endif
+15 −0
Original line number Diff line number Diff line
#ifndef __NVIF_CL826F_H__
#define __NVIF_CL826F_H__

struct g82_channel_gpfifo_v0 {
	__u8  version;
	__u8  chid;
	__u8  pad02[2];
	__u32 ilength;
	__u64 ioffset;
	__u64 pushbuf;
	__u64 vm;
};

#define G82_CHANNEL_GPFIFO_V0_NTFY_UEVENT                                  0x00
#endif
Loading