License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-2.6/btrfs-unstable.git] / drivers / gpu / drm / nouveau / include / nvkm / engine / dma.h
blob5f5cae7c474e88ab7633adad9a2ca0182658ef6d
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __NVKM_DMA_H__
3 #define __NVKM_DMA_H__
4 #include <core/engine.h>
5 struct nvkm_client;
7 struct nvkm_dmaobj {
8 const struct nvkm_dmaobj_func *func;
9 struct nvkm_dma *dma;
11 struct nvkm_object object;
12 u32 target;
13 u32 access;
14 u64 start;
15 u64 limit;
18 struct nvkm_dma {
19 const struct nvkm_dma_func *func;
20 struct nvkm_engine engine;
23 struct nvkm_dmaobj *nvkm_dmaobj_search(struct nvkm_client *, u64 object);
25 int nv04_dma_new(struct nvkm_device *, int, struct nvkm_dma **);
26 int nv50_dma_new(struct nvkm_device *, int, struct nvkm_dma **);
27 int gf100_dma_new(struct nvkm_device *, int, struct nvkm_dma **);
28 int gf119_dma_new(struct nvkm_device *, int, struct nvkm_dma **);
29 #endif