| .. | .. |
|---|
| 1 | | -/* SPDX-License-Identifier: GPL-2.0 */ |
|---|
| 1 | +/* SPDX-License-Identifier: MIT */ |
|---|
| 2 | 2 | #ifndef __GK104_FIFO_CHAN_H__ |
|---|
| 3 | 3 | #define __GK104_FIFO_CHAN_H__ |
|---|
| 4 | 4 | #define gk104_fifo_chan(p) container_of((p), struct gk104_fifo_chan, base) |
|---|
| .. | .. |
|---|
| 13 | 13 | struct nvkm_fifo_cgrp *cgrp; |
|---|
| 14 | 14 | struct list_head head; |
|---|
| 15 | 15 | bool killed; |
|---|
| 16 | + |
|---|
| 17 | + struct nvkm_memory *mthd; |
|---|
| 16 | 18 | |
|---|
| 17 | 19 | struct { |
|---|
| 18 | 20 | struct nvkm_gpuobj *inst; |
|---|
| .. | .. |
|---|
| 36 | 38 | |
|---|
| 37 | 39 | int gv100_fifo_gpfifo_new(struct gk104_fifo *, const struct nvkm_oclass *, |
|---|
| 38 | 40 | void *data, u32 size, struct nvkm_object **); |
|---|
| 41 | +int gv100_fifo_gpfifo_new_(const struct nvkm_fifo_chan_func *, |
|---|
| 42 | + struct gk104_fifo *, u64 *, u16 *, u64, u64, u64, |
|---|
| 43 | + u64 *, bool, u32 *, const struct nvkm_oclass *, |
|---|
| 44 | + struct nvkm_object **); |
|---|
| 45 | +int gv100_fifo_gpfifo_engine_init(struct nvkm_fifo_chan *, |
|---|
| 46 | + struct nvkm_engine *); |
|---|
| 47 | +int gv100_fifo_gpfifo_engine_fini(struct nvkm_fifo_chan *, |
|---|
| 48 | + struct nvkm_engine *, bool); |
|---|
| 49 | + |
|---|
| 50 | +int tu102_fifo_gpfifo_new(struct gk104_fifo *, const struct nvkm_oclass *, |
|---|
| 51 | + void *data, u32 size, struct nvkm_object **); |
|---|
| 39 | 52 | #endif |
|---|