Searched refs:ectx (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | cgrp.c | 34 struct nvkm_ectx *ectx = *pectx; in nvkm_cgrp_ectx_put() local 36 if (ectx) { in nvkm_cgrp_ectx_put() 37 struct nvkm_engn *engn = ectx->engn; in nvkm_cgrp_ectx_put() 39 if (refcount_dec_and_test(&ectx->refs)) { in nvkm_cgrp_ectx_put() 41 nvkm_object_del(&ectx->object); in nvkm_cgrp_ectx_put() 42 list_del(&ectx->head); in nvkm_cgrp_ectx_put() 43 kfree(ectx); in nvkm_cgrp_ectx_put() 59 struct nvkm_ectx *ectx; in nvkm_cgrp_ectx_get() local 63 ectx = nvkm_list_find(ectx, &cgrp->ectxs, head, ectx->engn == engn); in nvkm_cgrp_ectx_get() 64 if (ectx) { in nvkm_cgrp_ectx_get() [all …]
|
D | uchan.c | 80 struct nvkm_ectx *ectx = cctx->vctx->ectx; in nvkm_uchan_object_fini_1() local 82 if (!ectx->object) in nvkm_uchan_object_fini_1() 87 nvkm_chan_cctx_bind(chan, ectx->engn, NULL); in nvkm_uchan_object_fini_1() 89 if (refcount_dec_and_test(&ectx->uses)) in nvkm_uchan_object_fini_1() 90 nvkm_object_fini(ectx->object, false); in nvkm_uchan_object_fini_1() 103 struct nvkm_ectx *ectx = cctx->vctx->ectx; in nvkm_uchan_object_init_0() local 106 if (!ectx->object) in nvkm_uchan_object_init_0() 113 if (!refcount_inc_not_zero(&ectx->uses)) { in nvkm_uchan_object_init_0() 114 ret = nvkm_object_init(ectx->object); in nvkm_uchan_object_init_0() 116 refcount_set(&ectx->uses, 1); in nvkm_uchan_object_init_0() [all …]
|
D | cgrp.h | 9 struct nvkm_ectx *ectx; member
|
D | chan.c | 77 struct nvkm_engn *engn = cctx->vctx->ectx->engn; in nvkm_chan_cctx_put() 103 cctx->vctx->ectx->engn == engn && cctx->vctx->vmm == chan->vmm); in nvkm_chan_cctx_get()
|
/linux-6.12.1/drivers/gpu/drm/radeon/ |
D | atom.c | 1175 atom_exec_context ectx; in atom_execute_table_locked() local 1188 ectx.ctx = ctx; in atom_execute_table_locked() 1189 ectx.ps_shift = ps / 4; in atom_execute_table_locked() 1190 ectx.start = base; in atom_execute_table_locked() 1191 ectx.ps = params; in atom_execute_table_locked() 1192 ectx.ps_size = params_size; in atom_execute_table_locked() 1193 ectx.abort = false; in atom_execute_table_locked() 1194 ectx.last_jump = 0; in atom_execute_table_locked() 1196 ectx.ws = kcalloc(4, ws, GFP_KERNEL); in atom_execute_table_locked() 1197 ectx.ws_size = ws; in atom_execute_table_locked() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | atom.c | 1226 atom_exec_context ectx; in amdgpu_atom_execute_table_locked() local 1239 ectx.ctx = ctx; in amdgpu_atom_execute_table_locked() 1240 ectx.ps_shift = ps / 4; in amdgpu_atom_execute_table_locked() 1241 ectx.start = base; in amdgpu_atom_execute_table_locked() 1242 ectx.ps = params; in amdgpu_atom_execute_table_locked() 1243 ectx.ps_size = params_size; in amdgpu_atom_execute_table_locked() 1244 ectx.abort = false; in amdgpu_atom_execute_table_locked() 1245 ectx.last_jump = 0; in amdgpu_atom_execute_table_locked() 1246 ectx.last_jump_jiffies = 0; in amdgpu_atom_execute_table_locked() 1248 ectx.ws = kcalloc(4, ws, GFP_KERNEL); in amdgpu_atom_execute_table_locked() [all …]
|