HomeSort by: relevance | last modified time | path
    Searched refs:gws (Results 1 - 11 of 11) sorted by relevancy

  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_gds.h 42 uint32_t gws; member in struct:amdgpu_gds_reg_offset
amdgpu_amdkfd.h 159 int amdgpu_amdkfd_add_gws_to_process(void *info, void *gws, struct kgd_mem **mem);
amdgpu_cs.c 526 struct amdgpu_bo *gws; local in function:amdgpu_cs_parser_bos
626 gws = p->bo_list->gws_obj;
642 if (gws) {
643 p->job->gws_base = amdgpu_bo_gpu_offset(gws) >> PAGE_SHIFT;
644 p->job->gws_size = amdgpu_bo_size(gws) >> PAGE_SHIFT;
amdgpu_amdkfd_gpuvm.c 66 "GWS",
2123 int amdgpu_amdkfd_add_gws_to_process(void *info, void *gws, struct kgd_mem **mem)
2126 struct amdgpu_bo *gws_bo = (struct amdgpu_bo *)gws;
2129 if (!info || !gws)
2145 /* Validate gws bo the first time it is added to process */
2149 pr_err("Reserve gws bo failed %d\n", ret);
2155 pr_err("GWS BO validate failed %d\n", ret);
2158 /* GWS resource is shared b/t amdgpu and amdkfd
2199 pr_err("Reserve gws bo failed %d\n", ret);
amdgpu_gfx_v7_0.c 1891 /* Initialize all compute VMIDs to have no GDS, GWS, or OA
1896 WREG32(amdgpu_gds_reg_offset[i].gws, 0);
1906 * Initialize all compute and user-gfx VMIDs to have no GDS, GWS, or OA
1914 WREG32(amdgpu_gds_reg_offset[vmid].gws, 0);
4120 /* GWS */
4124 amdgpu_ring_write(ring, amdgpu_gds_reg_offset[vmid].gws);
amdgpu_gfx_v8_0.c 3717 /* Initialize all compute VMIDs to have no GDS, GWS, or OA
3722 WREG32(amdgpu_gds_reg_offset[i].gws, 0);
3732 * Initialize all compute and user-gfx VMIDs to have no GDS, GWS, or OA
3740 WREG32(amdgpu_gds_reg_offset[vmid].gws, 0);
4381 amdgpu_ring_write(kiq_ring, 0); /* gws mask lo */
4382 amdgpu_ring_write(kiq_ring, 0); /* gws mask hi */
5196 /* GWS */
5200 amdgpu_ring_write(ring, amdgpu_gds_reg_offset[vmid].gws);
  /src/sys/dev/pci/
agp_sis.c 154 int gws; local in function:agp_sis_get_aperture
157 * The aperture size is equal to 4M<<gws.
159 gws = (pci_conf_read(sc->as_pc, sc->as_tag, AGP_SIS_WINCTRL)&0x70) >> 4;
160 return (4*1024*1024) << gws;
166 int gws; local in function:agp_sis_set_aperture
178 gws = ffs(aperture / 4*1024*1024) - 1;
182 reg |= gws << 4;
  /src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/
kfd_process_queue_manager.c 84 void *gws)
109 /* Only allow one queue per process can have GWS assigned */
110 if (gws && pdd->qpd.num_gws)
113 if (!gws && pdd->qpd.num_gws == 0)
116 if (gws)
118 gws, &mem);
121 pqn->q->gws);
125 pqn->q->gws = mem;
126 pdd->qpd.num_gws = gws ? amdgpu_amdkfd_get_num_gws(dev->kgd) : 0;
158 if (pqn->q && pqn->q->gws)
    [all...]
kfd_priv.h 171 * Whether MEC FW support GWS barriers
307 /* Global GWS resource shared b/t processes*/
308 void *gws; member in struct:kfd_dev
482 * @gws: Pointing to gws kgd_mem if this is a gws control queue; NULL
506 void *gws; member in struct:queue
914 void *gws);
kfd_packet_manager_v9.c 164 packet->bitfields2.gws_control_queue = q->gws ? 1 : 0;
kfd_device.c 606 /* Allocate global GWS that is shared by all KFD processes */
608 amdgpu_amdkfd_get_num_gws(kfd->kgd), &kfd->gws)) {
609 dev_err(kfd_device, "Could not allocate %d gws\n",
707 amdgpu_amdkfd_free_gws(kfd->kgd, kfd->gws);
726 amdgpu_amdkfd_free_gws(kfd->kgd, kfd->gws);

Completed in 25 milliseconds