Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 527e9316f8ec44bd53d90fb9f611fa7ffff52bb9 authored by Linus Torvalds on 06 December 2015, 23:43:12 UTC
Linux 4.4-rc4
Tip revision: 527e931
gf100.h
#ifndef __GF100_FIFO_H__
#define __GF100_FIFO_H__
#define gf100_fifo(p) container_of((p), struct gf100_fifo, base)
#include "priv.h"

#include <subdev/mmu.h>

struct gf100_fifo {
	struct nvkm_fifo base;

	struct list_head chan;

	struct work_struct fault;
	u64 mask;

	struct {
		struct nvkm_memory *mem[2];
		int active;
		wait_queue_head_t wait;
	} runlist;

	struct {
		struct nvkm_memory *mem;
		struct nvkm_vma bar;
	} user;
	int spoon_nr;
};

void gf100_fifo_intr_engine(struct gf100_fifo *);
void gf100_fifo_runlist_update(struct gf100_fifo *);
#endif
back to top