posix-clock: Fix return code on the poll method's error path
[linux/fpc-iii.git] / drivers / gpu / drm / nouveau / nvkm / engine / fifo / gf100.h
blobc649ca9b53e3ee2206ad865351a4073a636af00a
1 #ifndef __GF100_FIFO_H__
2 #define __GF100_FIFO_H__
3 #define gf100_fifo(p) container_of((p), struct gf100_fifo, base)
4 #include "priv.h"
6 #include <subdev/mmu.h>
8 struct gf100_fifo {
9 struct nvkm_fifo base;
11 struct list_head chan;
13 struct work_struct fault;
14 u64 mask;
16 struct {
17 struct nvkm_memory *mem[2];
18 int active;
19 wait_queue_head_t wait;
20 } runlist;
22 struct {
23 struct nvkm_memory *mem;
24 struct nvkm_vma bar;
25 } user;
26 int spoon_nr;
29 void gf100_fifo_intr_engine(struct gf100_fifo *);
30 void gf100_fifo_runlist_update(struct gf100_fifo *);
31 #endif