Home
last modified time | relevance | path

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

/linux-6.1.9/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()
DKbuild10 nvkm-y += nvkm/engine/sw/nvsw.o
/linux-6.1.9/drivers/platform/mellanox/
DMakefile12 obj-$(CONFIG_NVSW_SN2201) += nvsw-sn2201.o
/linux-6.1.9/drivers/gpu/drm/nouveau/
Dnouveau_chan.h25 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.c96 nvif_object_dtor(&chan->nvsw); in nouveau_channel_del()
488 NULL, 0, &chan->nvsw); in nouveau_channel_init()
496 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()
393 PUSH_NVSQ(push, NV_SW, 0x0000, drm->channel->nvsw.handle); in nouveau_accel_gr_init()
Dnouveau_abi16.c322 init->subchan[1].handle = chan->chan->nvsw.handle; in nouveau_abi16_ioctl_channel_alloc()
/linux-6.1.9/drivers/gpu/drm/nouveau/dispnv04/
Ddisp.c242 nvif_notify_ctor(&drm->channel->nvsw, "kmsFlip", nv04_flip_complete, in nv04_display_create()