Home
last modified time | relevance | path

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

/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.c43 nv04_nvsw_mthd_get_ref(struct nvkm_nvsw *nvsw, void *data, u32 size) in nv04_nvsw_mthd_get_ref() argument
45 struct nv04_sw_chan *chan = nv04_sw_chan(nvsw->chan); in nv04_nvsw_mthd_get_ref()
59 nv04_nvsw_mthd(struct nvkm_nvsw *nvsw, u32 mthd, void *data, u32 size) in nv04_nvsw_mthd() argument
63 return nv04_nvsw_mthd_get_ref(nvsw, data, size); in nv04_nvsw_mthd()
DKbuild9 nvkm-y += nvkm/engine/sw/nvsw.o
/drivers/gpu/drm/nouveau/
Dnouveau_chan.h15 struct nvif_object nvsw; member
Dnouveau_chan.c73 nvif_object_fini(&chan->nvsw); in nouveau_channel_del()
382 NULL, 0, &chan->nvsw); in nouveau_channel_init()
391 OUT_RING (chan, chan->nvsw.handle); in nouveau_channel_init()
Dnv04_fence.c61 WARN_ON(nvif_object_mthd(&chan->nvsw, NV04_NVSW_GET_REF, in nv04_fence_read()
Dnouveau_drm.h150 struct nvif_object nvsw; member
Dnouveau_drm.c145 nvif_object_fini(&drm->nvsw); in nouveau_accel_fini()
244 nouveau_abi16_swclass(drm), NULL, 0, &drm->nvsw); in nouveau_accel_init()
258 ret = nvif_notify_init(&drm->nvsw, nouveau_flip_complete, in nouveau_accel_init()
Dnouveau_abi16.c305 init->subchan[1].handle = chan->chan->nvsw.handle; in nouveau_abi16_ioctl_channel_alloc()