Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/sw/
Dnvsw.c46 struct nvkm_nvsw *nvsw = nvkm_nvsw(object); in nvkm_nvsw_mthd() local
48 if (nvsw->func->mthd) in nvkm_nvsw_mthd()
49 return nvsw->func->mthd(nvsw, mthd, data, size); in nvkm_nvsw_mthd()
65 struct nvkm_nvsw *nvsw; in nvkm_nvsw_new_() local
67 if (!(nvsw = kzalloc(sizeof(*nvsw), GFP_KERNEL))) in nvkm_nvsw_new_()
69 *pobject = &nvsw->object; in nvkm_nvsw_new_()
71 nvkm_object_ctor(&nvkm_nvsw_, oclass, &nvsw->object); in nvkm_nvsw_new_()
72 nvsw->func = func; in nvkm_nvsw_new_()
73 nvsw->chan = chan; in nvkm_nvsw_new_()
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()
DKbuild10 nvkm-y += nvkm/engine/sw/nvsw.o
/linux-6.6.21/drivers/platform/mellanox/
DMakefile12 obj-$(CONFIG_NVSW_SN2201) += nvsw-sn2201.o
/linux-6.6.21/drivers/gpu/drm/nouveau/
Dnouveau_chan.h29 struct nvif_object nvsw; member
Dnv04_fence.c62 WARN_ON(nvif_object_mthd(&chan->nvsw, NV04_NVSW_GET_REF, in nv04_fence_read()
Dnouveau_chan.c102 nvif_object_dtor(&chan->nvsw); in nouveau_channel_del()
479 NULL, 0, &chan->nvsw); in nouveau_channel_init()
487 PUSH_NVSQ(chan->chan.push, NV_SW, 0x0000, chan->nvsw.handle); in nouveau_channel_init()
Dnouveau_drm.c385 if (!drm->channel->nvsw.client && device->info.family < NV_DEVICE_INFO_V0_TESLA) { in nouveau_accel_gr_init()
388 NULL, 0, &drm->channel->nvsw); in nouveau_accel_gr_init()
406 PUSH_NVSQ(push, NV_SW, 0x0000, drm->channel->nvsw.handle); in nouveau_accel_gr_init()
Dnouveau_abi16.c366 init->subchan[1].handle = chan->chan->nvsw.handle; in nouveau_abi16_ioctl_channel_alloc()
/linux-6.6.21/drivers/gpu/drm/nouveau/dispnv04/
Ddisp.c244 ret = nvif_event_ctor(&drm->channel->nvsw, "kmsFlip", 0, nv04_flip_complete, in nv04_display_create()