Searched refs:dmaobj (Results 1 - 18 of 18) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/dmaobj/
H A Dbase.c35 nvkm_dmaobj_bind(struct nvkm_dmaobj *dmaobj, struct nvkm_object *parent, nvkm_dmaobj_bind() argument
39 nv_oclass(nv_object(dmaobj)->engine); nvkm_dmaobj_bind()
42 if (nv_object(dmaobj) == parent) { /* ctor bind */ nvkm_dmaobj_bind()
47 ret = impl->bind(dmaobj, parent, pgpuobj); nvkm_dmaobj_bind()
53 return impl->bind(dmaobj, parent, pgpuobj); nvkm_dmaobj_bind()
69 struct nvkm_dmaobj *dmaobj; nvkm_dmaobj_create_() local
75 dmaobj = *pobject; nvkm_dmaobj_create_()
85 dmaobj->target = args->v0.target; nvkm_dmaobj_create_()
86 dmaobj->access = args->v0.access; nvkm_dmaobj_create_()
87 dmaobj->start = args->v0.start; nvkm_dmaobj_create_()
88 dmaobj->limit = args->v0.limit; nvkm_dmaobj_create_()
95 if (dmaobj->start > dmaobj->limit) nvkm_dmaobj_create_()
98 switch (dmaobj->target) { nvkm_dmaobj_create_()
100 dmaobj->target = NV_MEM_TARGET_VM; nvkm_dmaobj_create_()
104 if (dmaobj->limit >= pfb->ram->size - instmem->reserved) nvkm_dmaobj_create_()
109 dmaobj->target = NV_MEM_TARGET_VRAM; nvkm_dmaobj_create_()
114 dmaobj->target = NV_MEM_TARGET_PCI; nvkm_dmaobj_create_()
120 dmaobj->target = NV_MEM_TARGET_PCI_NOSNOOP; nvkm_dmaobj_create_()
126 switch (dmaobj->access) { nvkm_dmaobj_create_()
128 dmaobj->access = NV_MEM_ACCESS_VM; nvkm_dmaobj_create_()
131 dmaobj->access = NV_MEM_ACCESS_RO; nvkm_dmaobj_create_()
134 dmaobj->access = NV_MEM_ACCESS_WO; nvkm_dmaobj_create_()
137 dmaobj->access = NV_MEM_ACCESS_RW; nvkm_dmaobj_create_()
156 "dmaobj", &dmaeng); _nvkm_dmaeng_ctor()
H A Dpriv.h3 #include <engine/dmaobj.h>
H A Dnv04.c40 nv04_dmaobj_bind(struct nvkm_dmaobj *dmaobj, struct nvkm_object *parent, nv04_dmaobj_bind() argument
43 struct nv04_dmaobj_priv *priv = (void *)dmaobj; nv04_dmaobj_bind()
63 struct nv04_mmu_priv *mmu = nv04_mmu(dmaobj); nv04_dmaobj_bind()
65 if (!dmaobj->start) nv04_dmaobj_bind()
H A Dgf100.c40 gf100_dmaobj_bind(struct nvkm_dmaobj *dmaobj, struct nvkm_object *parent, gf100_dmaobj_bind() argument
43 struct gf100_dmaobj_priv *priv = (void *)dmaobj; gf100_dmaobj_bind()
60 nv_wo32(*pgpuobj, 0x00, priv->flags0 | nv_mclass(dmaobj)); gf100_dmaobj_bind()
H A Dnv50.c40 nv50_dmaobj_bind(struct nvkm_dmaobj *dmaobj, struct nvkm_object *parent, nv50_dmaobj_bind() argument
43 struct nv50_dmaobj_priv *priv = (void *)dmaobj; nv50_dmaobj_bind()
72 nv_wo32(*pgpuobj, 0x00, priv->flags0 | nv_mclass(dmaobj)); nv50_dmaobj_bind()
H A Dgf110.c39 gf110_dmaobj_bind(struct nvkm_dmaobj *dmaobj, struct nvkm_object *parent, gf110_dmaobj_bind() argument
42 struct gf110_dmaobj_priv *priv = (void *)dmaobj; gf110_dmaobj_bind()
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/engine/
H A Ddmaobj.h18 int (*bind)(struct nvkm_dmaobj *dmaobj, struct nvkm_object *parent,
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/device/
H A Dnv04.c37 #include <engine/dmaobj.h>
H A Dnv20.c39 #include <engine/dmaobj.h>
H A Dnv30.c38 #include <engine/dmaobj.h>
H A Dgm100.c46 #include <engine/dmaobj.h>
H A Dnv10.c38 #include <engine/dmaobj.h>
H A Dgk104.c46 #include <engine/dmaobj.h>
H A Dgf100.c46 #include <engine/dmaobj.h>
H A Dnv40.c41 #include <engine/dmaobj.h>
H A Dnv50.c44 #include <engine/dmaobj.h>
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dbase.c30 #include <engine/dmaobj.h>
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dnv50.c34 #include <engine/dmaobj.h>

Completed in 289 milliseconds