Home
last modified time | relevance | path

Searched refs:gws (Results 1 – 17 of 17) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/amd/amdkfd/
Dkfd_process_queue_manager.c94 void *gws) in pqm_set_gws() argument
120 if (gws && pdd->qpd.num_gws) in pqm_set_gws()
123 if (!gws && pdd->qpd.num_gws == 0) in pqm_set_gws()
127 if (gws) in pqm_set_gws()
129 gws, &mem); in pqm_set_gws()
132 pqn->q->gws); in pqm_set_gws()
135 pqn->q->gws = mem; in pqm_set_gws()
143 pqn->q->gws = gws ? ERR_PTR(-ENOMEM) : NULL; in pqm_set_gws()
146 pdd->qpd.num_gws = gws ? dev->adev->gds.gws_size : 0; in pqm_set_gws()
177 if (pqn->q && pqn->q->gws && in pqm_uninit()
[all …]
Dkfd_device.c516 node->adev->gds.gws_size, &node->gws); in kfd_gws_init()
567 if (node->gws) in kfd_init_node()
568 amdgpu_amdkfd_free_gws(node->adev, node->gws); in kfd_init_node()
585 if (knode->gws) in kfd_cleanup_nodes()
586 amdgpu_amdkfd_free_gws(knode->adev, knode->gws); in kfd_cleanup_nodes()
Dkfd_priv.h290 void *gws; member
596 void *gws; member
1234 uint32_t gws; member
1330 void *gws);
Dkfd_packet_manager_v9.c228 packet->bitfields2.gws_control_queue = q->gws ? 1 : 0; in pm_map_queues_v9()
Dkfd_chardev.c1478 if (!dev->gws) { in kfd_ioctl_alloc_queue_gws()
1494 retval = pqm_set_gws(&p->pqm, args->queue_id, args->num_gws ? dev->gws : NULL); in kfd_ioctl_alloc_queue_gws()
Dkfd_device_queue_manager.c914 } else if (q->gws && !q->properties.is_gws) { in update_queue()
920 } else if (!q->gws && q->properties.is_gws) { in update_queue()
Dkfd_topology.c2006 dev->node_props.num_gws = (dev->gpu->gws && in kfd_topology_add_device()
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_job.c144 struct amdgpu_bo *gws, struct amdgpu_bo *oa) in amdgpu_job_set_resources() argument
150 if (gws) { in amdgpu_job_set_resources()
151 job->gws_base = amdgpu_bo_gpu_offset(gws) >> PAGE_SHIFT; in amdgpu_job_set_resources()
152 job->gws_size = amdgpu_bo_size(gws) >> PAGE_SHIFT; in amdgpu_job_set_resources()
Damdgpu_gds.h40 uint32_t gws; member
Damdgpu_job.h96 struct amdgpu_bo *gws, struct amdgpu_bo *oa);
Damdgpu_amdkfd.h228 int amdgpu_amdkfd_add_gws_to_process(void *info, void *gws, struct kgd_mem **mem);
Damdgpu_amdkfd_gpuvm.c2886 int amdgpu_amdkfd_add_gws_to_process(void *info, void *gws, struct kgd_mem **mem) in amdgpu_amdkfd_add_gws_to_process() argument
2889 struct amdgpu_bo *gws_bo = (struct amdgpu_bo *)gws; in amdgpu_amdkfd_add_gws_to_process()
2892 if (!info || !gws) in amdgpu_amdkfd_add_gws_to_process()
Dgfx_v7_0.c1849 WREG32(amdgpu_gds_reg_offset[i].gws, 0); in gfx_v7_0_init_compute_vmid()
1867 WREG32(amdgpu_gds_reg_offset[vmid].gws, 0); in gfx_v7_0_init_gds_vmid()
4062 amdgpu_ring_write(ring, amdgpu_gds_reg_offset[vmid].gws); in gfx_v7_0_ring_emit_gds_switch()
Dgfx_v8_0.c3696 WREG32(amdgpu_gds_reg_offset[i].gws, 0); in gfx_v8_0_init_compute_vmid()
3714 WREG32(amdgpu_gds_reg_offset[vmid].gws, 0); in gfx_v8_0_init_gds_vmid()
5180 amdgpu_ring_write(ring, amdgpu_gds_reg_offset[vmid].gws); in gfx_v8_0_ring_emit_gds_switch()
/Linux-v6.6/samples/bpf/
Dxdp_router_ipv4_user.c93 char dsts[24], gws[24], ifs[16], dsts_len[24], metrics[24]; in read_route() local
133 sprintf(gws, "%u", in read_route()
150 route.gw = atoi(gws); in read_route()
244 memset(gws, 0, sizeof(gws)); in read_route()
/Linux-v6.6/tools/testing/selftests/net/
Dfib_nexthops.sh615 local -A gws
616 gws=([veth1]=172.16.1.2 [veth3]=172.16.2.2)
668 local -A gws
669 gws=([veth1]=2001:db8:91::2 [veth3]=2001:db8:92::2)
/Linux-v6.6/drivers/dma/
Dat_xdmac.c197 u8 gws; member
286 .gws = 0x2C,
299 .gws = 0x38,