Searched refs:dmaobj (Results 1 - 18 of 18) sorted by relevance
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/dmaobj/ |
H A D | base.c | 35 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 D | priv.h | 3 #include <engine/dmaobj.h>
|
H A D | nv04.c | 40 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 D | gf100.c | 40 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 D | nv50.c | 40 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 D | gf110.c | 39 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 D | dmaobj.h | 18 int (*bind)(struct nvkm_dmaobj *dmaobj, struct nvkm_object *parent,
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | nv04.c | 37 #include <engine/dmaobj.h>
|
H A D | nv20.c | 39 #include <engine/dmaobj.h>
|
H A D | nv30.c | 38 #include <engine/dmaobj.h>
|
H A D | gm100.c | 46 #include <engine/dmaobj.h>
|
H A D | nv10.c | 38 #include <engine/dmaobj.h>
|
H A D | gk104.c | 46 #include <engine/dmaobj.h>
|
H A D | gf100.c | 46 #include <engine/dmaobj.h>
|
H A D | nv40.c | 41 #include <engine/dmaobj.h>
|
H A D | nv50.c | 44 #include <engine/dmaobj.h>
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | base.c | 30 #include <engine/dmaobj.h>
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | nv50.c | 34 #include <engine/dmaobj.h>
|
Completed in 191 milliseconds