License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-block.git] / drivers / gpu / drm / nouveau / nvkm / engine / fifo / changf100.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
9a65a38c
BS
2#ifndef __GF100_FIFO_CHAN_H__
3#define __GF100_FIFO_CHAN_H__
8f0649b5 4#define gf100_fifo_chan(p) container_of((p), struct gf100_fifo_chan, base)
9a65a38c
BS
5#include "chan.h"
6#include "gf100.h"
7
8f0649b5
BS
8struct gf100_fifo_chan {
9 struct nvkm_fifo_chan base;
10 struct gf100_fifo *fifo;
11
12 struct list_head head;
13 bool killed;
14
9a65a38c
BS
15 struct nvkm_gpuobj *pgd;
16 struct nvkm_vm *vm;
9a65a38c 17
8f0649b5
BS
18 struct {
19 struct nvkm_gpuobj *inst;
20 struct nvkm_vma vma;
68f3f702 21 } engn[NVKM_SUBDEV_NR];
9a65a38c
BS
22};
23
8f0649b5 24extern const struct nvkm_fifo_chan_oclass gf100_fifo_gpfifo_oclass;
9a65a38c 25#endif