| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | kfd_process_queue_manager.c | 106 void *gws) in pqm_set_gws() 133 if (gws && pdd->qpd.num_gws) in pqm_set_gws() 136 if (!gws && pdd->qpd.num_gws == 0) in pqm_set_gws() 143 if (gws) in pqm_set_gws() 145 gws, &mem); in pqm_set_gws() 148 pqn->q->gws); in pqm_set_gws() 151 pqn->q->gws = mem; in pqm_set_gws() 159 pqn->q->gws = gws ? ERR_PTR(-ENOMEM) : NULL; in pqm_set_gws() 162 pdd->qpd.num_gws = gws in pqm_set_gws() 105 pqm_set_gws(struct process_queue_manager * pqm,unsigned int qid,void * gws) pqm_set_gws() argument [all...] |
| H A D | kfd_device.c | 609 node->adev->gds.gws_size, &node->gws); in kfd_gws_init() 637 dev_err(kfd_device, "Could not allocate %d gws\n", in kfd_init_node() 661 if (node->gws) in kfd_init_node() 662 amdgpu_amdkfd_free_gws(node->adev, node->gws); in kfd_init_node() 687 if (knode->gws) in kfd_cleanup_nodes() 688 amdgpu_amdkfd_free_gws(knode->adev, knode->gws); in kfd_cleanup_nodes()
|
| H A D | kfd_priv.h | 305 void *gws; member 611 * @gws: Pointing to gws kgd_mem if this is a gws control queue; NULL 635 void *gws; 1342 uint32_t gws; 1453 void *gws); 637 void *gws; global() member 1333 uint32_t gws; global() member
|
| H A D | kfd_chardev.c | 1556 if (!dev->gws) { in kfd_ioctl_alloc_queue_gws() 1572 retval = pqm_set_gws(&p->pqm, args->queue_id, args->num_gws ? dev->gws : NULL); in kfd_ioctl_alloc_queue_gws()
|
| H A D | kfd_device_queue_manager.c | 1191 } else if (q->gws && !q->properties.is_gws) { in update_queue() 1197 } else if (!q->gws && q->properties.is_gws) { in update_queue()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_gds.h | 40 uint32_t gws; member
|
| H A D | amdgpu_amdkfd.h | 263 int amdgpu_amdkfd_add_gws_to_process(void *info, void *gws, struct kgd_mem **mem);
|
| H A D | amdgpu_amdkfd_gpuvm.c | 3188 int amdgpu_amdkfd_add_gws_to_process(void *info, void *gws, struct kgd_mem **mem) in amdgpu_amdkfd_add_gws_to_process() 3191 struct amdgpu_bo *gws_bo = (struct amdgpu_bo *)gws; in amdgpu_amdkfd_add_gws_to_process() 3194 if (!info || !gws) in amdgpu_amdkfd_add_gws_to_process() 3210 /* Validate gws bo the first time it is added to process */ in amdgpu_amdkfd_remove_gws_from_process() 3214 pr_err("Reserve gws bo failed %d\n", ret); in amdgpu_amdkfd_remove_gws_from_process() 3266 pr_err("Reserve gws bo failed %d\n", ret); in amdgpu_amdkfd_bo_mapped_to_dev() 3145 amdgpu_amdkfd_add_gws_to_process(void * info,void * gws,struct kgd_mem ** mem) amdgpu_amdkfd_add_gws_to_process() argument
|
| H A D | gfx_v8_0.c | 3701 WREG32(amdgpu_gds_reg_offset[i].gws, 0); in gfx_v8_0_init_compute_vmid() 3719 WREG32(amdgpu_gds_reg_offset[vmid].gws, 0); in gfx_v8_0_init_gds_vmid() 4350 amdgpu_ring_write(kiq_ring, 0); /* gws mask lo */ in gfx_v8_0_kiq_kcq_enable() 4351 amdgpu_ring_write(kiq_ring, 0); /* gws mask hi */ in gfx_v8_0_kiq_kcq_enable() 5055 amdgpu_ring_write(ring, amdgpu_gds_reg_offset[vmid].gws); in gfx_v8_0_ring_emit_gds_switch()
|
| /linux/samples/bpf/ |
| H A D | xdp_router_ipv4_user.c | 93 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/tools/testing/selftests/net/ |
| H A D | fib_nexthops.sh | 785 local -A gws 786 gws=([veth1]=172.16.1.2 [veth3]=172.16.2.2) 790 run_cmd "$IP nexthop add id 1 via ${gws["veth1"]} dev veth1" 791 run_cmd "$IP nexthop add id 2 via ${gws["veth3"]} dev veth3" 808 run_cmd "$IP neigh add ${gws[$dev]} dev $dev nud failed" 813 run_cmd "$IP neigh del ${gws[$dev]} dev $dev" 838 local -A gws 839 gws=([veth1]=2001:db8:91::2 [veth3]=2001:db8:92::2) 843 run_cmd "$IP nexthop add id 1 via ${gws["veth1"]} dev veth1" 844 run_cmd "$IP nexthop add id 2 via ${gws["veth [all...] |