File Index
Files and directories
Sign in
FILE

dma.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/nouveau/include/nvkm/engine/dma.h C
 1/* SPDX-License-Identifier: MIT */
 2#ifndef __NVKM_DMA_H__
 3#define __NVKM_DMA_H__
 4#include <core/engine.h>
 5#include <core/object.h>
 6struct nvkm_client;
 7
 8struct nvkm_dmaobj {
 9	const struct nvkm_dmaobj_func *func;
10	struct nvkm_dma *dma;
11
12	struct nvkm_object object;
13	u32 target;
14	u32 access;
15	u64 start;
16	u64 limit;
17};
18
19struct nvkm_dma {
20	const struct nvkm_dma_func *func;
21	struct nvkm_engine engine;
22};
23
24struct nvkm_dmaobj *nvkm_dmaobj_search(struct nvkm_client *, u64 object);
25
26int nv04_dma_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_dma **);
27int nv50_dma_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_dma **);
28int gf100_dma_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_dma **);
29int gf119_dma_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_dma **);
30int gv100_dma_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_dma **);
31#endif
~/ Read-only file preview.