Home
last modified time | relevance | path

Searched refs:nvsw (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/sw/
Dnvsw.c32 struct nvkm_nvsw *nvsw = nvkm_nvsw(object); in nvkm_nvsw_mthd_() local
33 if (nvsw->func->mthd) in nvkm_nvsw_mthd_()
34 return nvsw->func->mthd(nvsw, mthd, data, size); in nvkm_nvsw_mthd_()
42 struct nvkm_nvsw *nvsw = nvkm_nvsw(object); in nvkm_nvsw_ntfy_() local
45 *pevent = &nvsw->chan->event; in nvkm_nvsw_ntfy_()
64 struct nvkm_nvsw *nvsw; in nvkm_nvsw_new_() local
66 if (!(nvsw = kzalloc(sizeof(*nvsw), GFP_KERNEL))) in nvkm_nvsw_new_()
68 *pobject = &nvsw->object; in nvkm_nvsw_new_()
70 nvkm_object_ctor(&nvkm_nvsw_, oclass, &nvsw->object); in nvkm_nvsw_new_()
71 nvsw->func = func; in nvkm_nvsw_new_()
[all …]
Dnv04.c44 nv04_nvsw_mthd_get_ref(struct nvkm_nvsw *nvsw, void *data, u32 size) in nv04_nvsw_mthd_get_ref() argument
46 struct nv04_sw_chan *chan = nv04_sw_chan(nvsw->chan); in nv04_nvsw_mthd_get_ref()
60 nv04_nvsw_mthd(struct nvkm_nvsw *nvsw, u32 mthd, void *data, u32 size) in nv04_nvsw_mthd() argument
64 return nv04_nvsw_mthd_get_ref(nvsw, data, size); in nv04_nvsw_mthd()
DKbuild9 nvkm-y += nvkm/engine/sw/nvsw.o
/Linux-v4.19/drivers/gpu/drm/nouveau/
Dnouveau_chan.h16 struct nvif_object nvsw; member
Dnv04_fence.c63 WARN_ON(nvif_object_mthd(&chan->nvsw, NV04_NVSW_GET_REF, in nv04_fence_read()
Dnouveau_chan.c97 nvif_object_fini(&chan->nvsw); in nouveau_channel_del()
432 NULL, 0, &chan->nvsw); in nouveau_channel_init()
441 OUT_RING (chan, chan->nvsw.handle); in nouveau_channel_init()
Dnouveau_drv.h184 struct nvif_object nvsw; member
Dnouveau_drm.c292 nvif_object_fini(&drm->nvsw); in nouveau_accel_fini()
406 &drm->nvsw); in nouveau_accel_init()
411 OUT_RING (drm->channel, drm->nvsw.handle); in nouveau_accel_init()
414 ret = nvif_notify_init(&drm->nvsw, in nouveau_accel_init()
Dnouveau_abi16.c327 init->subchan[1].handle = chan->chan->nvsw.handle; in nouveau_abi16_ioctl_channel_alloc()