summaryrefslogtreecommitdiff
path: root/drm/nouveau/nvkm/engine/fifo/nv50.h
blob: a7d5dba12fb8e302ddd24bc1948711b0be843434 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef __NV50_FIFO_H__
#define __NV50_FIFO_H__
#define nv50_fifo(p) container_of((p), struct nv50_fifo, base)
#include "priv.h"

struct nv50_fifo {
	struct nvkm_fifo base;
	struct nvkm_memory *runlist[2];
	int cur_runlist;
};

void nv50_fifo_dtor(struct nvkm_object *);
int  nv50_fifo_init(struct nvkm_object *);
void nv50_fifo_runlist_update(struct nv50_fifo *);
#endif