Searched refs:gds (Results 1 – 15 of 15) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_job.c | 134 void amdgpu_job_set_resources(struct amdgpu_job *job, struct amdgpu_bo *gds, in amdgpu_job_set_resources() argument 137 if (gds) { in amdgpu_job_set_resources() 138 job->gds_base = amdgpu_bo_gpu_offset(gds) >> PAGE_SHIFT; in amdgpu_job_set_resources() 139 job->gds_size = amdgpu_bo_size(gds) >> PAGE_SHIFT; in amdgpu_job_set_resources()
|
D | amdgpu_job.h | 85 void amdgpu_job_set_resources(struct amdgpu_job *job, struct amdgpu_bo *gds,
|
D | gfx_v9_0.c | 4336 WREG32_SOC15(GC, 0, mmGDS_VMID0_SIZE, adev->gds.gds_size); in gfx_v9_0_do_edc_gds_workarounds() 4348 adev->gds.gds_size); in gfx_v9_0_do_edc_gds_workarounds() 4573 (adev->gds.gds_size)) { in gfx_v9_0_ecc_late_init() 5197 amdgpu_ring_write(ring, ring->adev->gds.gds_compute_max_wave_id); in gfx_v9_0_ring_emit_ib_compute() 6860 adev->gds.gds_size = 0x10000; in gfx_v9_0_set_gds_init() 6865 adev->gds.gds_size = 0x1000; in gfx_v9_0_set_gds_init() 6871 adev->gds.gds_size = 0; in gfx_v9_0_set_gds_init() 6874 adev->gds.gds_size = 0x10000; in gfx_v9_0_set_gds_init() 6881 adev->gds.gds_compute_max_wave_id = 0x7ff; in gfx_v9_0_set_gds_init() 6884 adev->gds.gds_compute_max_wave_id = 0x27f; in gfx_v9_0_set_gds_init() [all …]
|
D | amdgpu_kms.c | 661 gds_info.compute_partition_size = adev->gds.gds_size; in amdgpu_info_ioctl() 662 gds_info.gds_total_size = adev->gds.gds_size; in amdgpu_info_ioctl() 663 gds_info.gws_per_compute_partition = adev->gds.gws_size; in amdgpu_info_ioctl() 664 gds_info.oa_per_compute_partition = adev->gds.oa_size; in amdgpu_info_ioctl()
|
D | amdgpu_ttm.c | 1810 r = amdgpu_ttm_init_on_chip(adev, AMDGPU_PL_GDS, adev->gds.gds_size); in amdgpu_ttm_init() 1816 r = amdgpu_ttm_init_on_chip(adev, AMDGPU_PL_GWS, adev->gds.gws_size); in amdgpu_ttm_init() 1822 r = amdgpu_ttm_init_on_chip(adev, AMDGPU_PL_OA, adev->gds.oa_size); in amdgpu_ttm_init()
|
D | gfx_v7_0.c | 2282 amdgpu_ring_write(ring, ring->adev->gds.gds_compute_max_wave_id); in gfx_v7_0_ring_emit_ib_compute() 5120 adev->gds.gds_size = RREG32(mmGDS_VMID0_SIZE); in gfx_v7_0_set_gds_init() 5121 adev->gds.gws_size = 64; in gfx_v7_0_set_gds_init() 5122 adev->gds.oa_size = 16; in gfx_v7_0_set_gds_init() 5123 adev->gds.gds_compute_max_wave_id = RREG32(mmGDS_COMPUTE_MAX_WAVE_ID); in gfx_v7_0_set_gds_init()
|
D | gfx_v11_0.c | 5371 amdgpu_ring_write(ring, ring->adev->gds.gds_compute_max_wave_id); in gfx_v11_0_ring_emit_ib_compute() 5609 AMDGPU_CSA_SIZE - adev->gds.gds_size, in gfx_v11_0_ring_emit_de_meta() 6252 adev->gds.gds_size = 0x1000; in gfx_v11_0_set_gds_init() 6253 adev->gds.gds_compute_max_wave_id = total_cu * 32 - 1; in gfx_v11_0_set_gds_init() 6254 adev->gds.gws_size = 64; in gfx_v11_0_set_gds_init() 6255 adev->gds.oa_size = 16; in gfx_v11_0_set_gds_init()
|
D | mes_v10_1.c | 279 mes_set_hw_res_pkt.gds_size = adev->gds.gds_size; in mes_v10_1_set_hw_resources()
|
D | amdgpu.h | 943 struct amdgpu_gds gds; member
|
D | gfx_v8_0.c | 6163 amdgpu_ring_write(ring, ring->adev->gds.gds_compute_max_wave_id); in gfx_v8_0_ring_emit_ib_compute() 7089 adev->gds.gds_size = RREG32(mmGDS_VMID0_SIZE); in gfx_v8_0_set_gds_init() 7090 adev->gds.gws_size = 64; in gfx_v8_0_set_gds_init() 7091 adev->gds.oa_size = 16; in gfx_v8_0_set_gds_init() 7092 adev->gds.gds_compute_max_wave_id = RREG32(mmGDS_COMPUTE_MAX_WAVE_ID); in gfx_v8_0_set_gds_init()
|
D | mes_v11_0.c | 355 mes_set_hw_res_pkt.gds_size = adev->gds.gds_size; in mes_v11_0_set_hw_resources()
|
D | gfx_v10_0.c | 8543 amdgpu_ring_write(ring, ring->adev->gds.gds_compute_max_wave_id); in gfx_v10_0_ring_emit_ib_compute() 8837 AMDGPU_CSA_SIZE - adev->gds.gds_size, in gfx_v10_0_ring_emit_de_meta() 9534 adev->gds.gds_size = 0x10000; in gfx_v10_0_set_gds_init() 9535 adev->gds.gds_compute_max_wave_id = total_cu * 32 - 1; in gfx_v10_0_set_gds_init() 9536 adev->gds.gws_size = 64; in gfx_v10_0_set_gds_init() 9537 adev->gds.oa_size = 16; in gfx_v10_0_set_gds_init()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_device.c | 502 kfd->adev->gds.gws_size, &kfd->gws); in kfd_gws_init() 620 kfd->adev->gds.gws_size); in kgd2kfd_device_init()
|
D | kfd_process_queue_manager.c | 136 pdd->qpd.num_gws = gws ? dev->adev->gds.gws_size : 0; in pqm_set_gws()
|
D | kfd_topology.c | 1714 dev->gpu->adev->gds.gws_size : 0; in kfd_topology_add_device()
|