Home
last modified time | relevance | path

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

/linux-6.1.9/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()
126 if (gws) in pqm_set_gws()
128 gws, &mem); in pqm_set_gws()
131 pqn->q->gws); in pqm_set_gws()
135 pqn->q->gws = mem; in pqm_set_gws()
136 pdd->qpd.num_gws = gws ? dev->adev->gds.gws_size : 0; in pqm_set_gws()
167 if (pqn->q && pqn->q->gws) in pqm_uninit()
169 pqn->q->gws); in pqm_uninit()
[all …]
Dkfd_device.c502 kfd->adev->gds.gws_size, &kfd->gws); in kfd_gws_init()
675 if (kfd->gws) in kgd2kfd_device_init()
676 amdgpu_amdkfd_free_gws(kfd->adev, kfd->gws); in kgd2kfd_device_init()
694 if (kfd->gws) in kgd2kfd_device_exit()
695 amdgpu_amdkfd_free_gws(kfd->adev, kfd->gws); in kgd2kfd_device_exit()
Dkfd_priv.h336 void *gws; member
566 void *gws; member
1122 uint32_t gws; member
1222 void *gws);
Dkfd_packet_manager_v9.c204 packet->bitfields2.gws_control_queue = q->gws ? 1 : 0; in pm_map_queues_v9()
Dkfd_device_queue_manager.c223 if (q->gws) { in add_queue_mes()
883 } else if (q->gws && !q->properties.is_gws) { in update_queue()
889 } else if (!q->gws && q->properties.is_gws) { in update_queue()
Dkfd_chardev.c1437 if (!dev->gws) { in kfd_ioctl_alloc_queue_gws()
1447 retval = pqm_set_gws(&p->pqm, args->queue_id, args->num_gws ? dev->gws : NULL); in kfd_ioctl_alloc_queue_gws()
Dkfd_topology.c1712 dev->node_props.num_gws = (dev->gpu->gws && in kfd_topology_add_device()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_job.c135 struct amdgpu_bo *gws, struct amdgpu_bo *oa) in amdgpu_job_set_resources() argument
141 if (gws) { in amdgpu_job_set_resources()
142 job->gws_base = amdgpu_bo_gpu_offset(gws) >> PAGE_SHIFT; in amdgpu_job_set_resources()
143 job->gws_size = amdgpu_bo_size(gws) >> PAGE_SHIFT; in amdgpu_job_set_resources()
Damdgpu_gds.h40 uint32_t gws; member
Damdgpu_job.h86 struct amdgpu_bo *gws, struct amdgpu_bo *oa);
Damdgpu_amdkfd.h217 int amdgpu_amdkfd_add_gws_to_process(void *info, void *gws, struct kgd_mem **mem);
Damdgpu_amdkfd_gpuvm.c2806 int amdgpu_amdkfd_add_gws_to_process(void *info, void *gws, struct kgd_mem **mem) in amdgpu_amdkfd_add_gws_to_process() argument
2809 struct amdgpu_bo *gws_bo = (struct amdgpu_bo *)gws; in amdgpu_amdkfd_add_gws_to_process()
2812 if (!info || !gws) in amdgpu_amdkfd_add_gws_to_process()
Dgfx_v7_0.c1884 WREG32(amdgpu_gds_reg_offset[i].gws, 0); in gfx_v7_0_init_compute_vmid()
1902 WREG32(amdgpu_gds_reg_offset[vmid].gws, 0); in gfx_v7_0_init_gds_vmid()
4097 amdgpu_ring_write(ring, amdgpu_gds_reg_offset[vmid].gws); in gfx_v7_0_ring_emit_gds_switch()
Dgfx_v8_0.c3721 WREG32(amdgpu_gds_reg_offset[i].gws, 0); in gfx_v8_0_init_compute_vmid()
3739 WREG32(amdgpu_gds_reg_offset[vmid].gws, 0); in gfx_v8_0_init_gds_vmid()
5206 amdgpu_ring_write(ring, amdgpu_gds_reg_offset[vmid].gws); in gfx_v8_0_ring_emit_gds_switch()
/linux-6.1.9/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-6.1.9/drivers/dma/
Dat_xdmac.c195 u8 gws; member
282 .gws = 0x2C,
295 .gws = 0x38,