/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_process_queue_manager.c | 94 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 …]
|
D | kfd_device.c | 502 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()
|
D | kfd_priv.h | 336 void *gws; member 566 void *gws; member 1122 uint32_t gws; member 1222 void *gws);
|
D | kfd_packet_manager_v9.c | 204 packet->bitfields2.gws_control_queue = q->gws ? 1 : 0; in pm_map_queues_v9()
|
D | kfd_device_queue_manager.c | 223 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()
|
D | kfd_chardev.c | 1437 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()
|
D | kfd_topology.c | 1712 dev->node_props.num_gws = (dev->gpu->gws && in kfd_topology_add_device()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_job.c | 135 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()
|
D | amdgpu_gds.h | 40 uint32_t gws; member
|
D | amdgpu_job.h | 86 struct amdgpu_bo *gws, struct amdgpu_bo *oa);
|
D | amdgpu_amdkfd.h | 217 int amdgpu_amdkfd_add_gws_to_process(void *info, void *gws, struct kgd_mem **mem);
|
D | amdgpu_amdkfd_gpuvm.c | 2806 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()
|
D | gfx_v7_0.c | 1884 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()
|
D | gfx_v8_0.c | 3721 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/ |
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-6.1.9/drivers/dma/ |
D | at_xdmac.c | 195 u8 gws; member 282 .gws = 0x2C, 295 .gws = 0x38,
|