Home
last modified time | relevance | path

Searched refs:nvsw (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/sw/
H A Dnvsw.c24 #include "nvsw.h"
32 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_KERNE in nvkm_nvsw_new_()
[all...]
H A Dnv04.c27 #include "nvsw.h"
44 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/sw/
H A Dnvsw.c24 #include "nvsw.h"
46 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 in nvkm_nvsw_new_()
[all...]
H A Dnv04.c27 #include "nvsw.h"
44 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
H A Dnouveau_chan.h25 struct nvif_object nvsw; member
H A Dnv04_fence.c62 WARN_ON(nvif_object_mthd(&chan->nvsw, NV04_NVSW_GET_REF, in nv04_fence_read()
H A Dnouveau_chan.c102 nvif_object_dtor(&chan->nvsw); in nouveau_channel_del()
493 NULL, 0, &chan->nvsw); in nouveau_channel_init()
501 PUSH_NVSQ(chan->chan.push, NV_SW, 0x0000, chan->nvsw.handle); in nouveau_channel_init()
H A Dnouveau_drm.c372 if (!drm->channel->nvsw.client && device->info.family < NV_DEVICE_INFO_V0_TESLA) { in nouveau_accel_gr_init()
375 NULL, 0, &drm->channel->nvsw); in nouveau_accel_gr_init()
380 PUSH_NVSQ(push, NV_SW, 0x0000, drm->channel->nvsw.handle); in nouveau_accel_gr_init()
H A Dnouveau_abi16.c322 init->subchan[1].handle = chan->chan->nvsw.handle; in nouveau_abi16_ioctl_channel_alloc()
451 /* nvsw: compatibility with older 0x*6e class identifier */ in nouveau_abi16_ioctl_grobj_alloc()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/
H A Dnouveau_chan.h29 struct nvif_object nvsw; member
H A Dnv04_fence.c62 WARN_ON(nvif_object_mthd(&chan->nvsw, NV04_NVSW_GET_REF, in nv04_fence_read()
H A 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()
H A 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()
H A Dnouveau_abi16.c366 init->subchan[1].handle = chan->chan->nvsw.handle; in nouveau_abi16_ioctl_channel_alloc()
520 /* nvsw: compatibility with older 0x*6e class identifier */ in nouveau_abi16_ioctl_grobj_alloc()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/
H A Ddisp.c242 nvif_notify_ctor(&drm->channel->nvsw, "kmsFlip", nv04_flip_complete, in nv04_display_create()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv04/
H A Ddisp.c244 ret = nvif_event_ctor(&drm->channel->nvsw, "kmsFlip", 0, nv04_flip_complete, in nv04_display_create()

Completed in 10 milliseconds