Home
last modified time | relevance | path

Searched refs:gds (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_dev_coredump.c243 drm_printf(&p, "gds: total size: %d\n", coredump->adev->gds.gds_size); in amdgpu_devcoredump_read()
244 drm_printf(&p, "gds: compute partition size: %d\n", coredump->adev->gds.gds_size); in amdgpu_devcoredump_read()
245 drm_printf(&p, "gds: gws per compute partition: %d\n", coredump->adev->gds.gws_size); in amdgpu_devcoredump_read()
246 drm_printf(&p, "gds: os per compute partition: %d\n", coredump->adev->gds.oa_size); in amdgpu_devcoredump_read()
Damdgpu_job.c237 void amdgpu_job_set_resources(struct amdgpu_job *job, struct amdgpu_bo *gds, in amdgpu_job_set_resources() argument
240 if (gds) { in amdgpu_job_set_resources()
241 job->gds_base = amdgpu_bo_gpu_offset(gds) >> PAGE_SHIFT; in amdgpu_job_set_resources()
242 job->gds_size = amdgpu_bo_size(gds) >> PAGE_SHIFT; in amdgpu_job_set_resources()
Damdgpu_job.h98 void amdgpu_job_set_resources(struct amdgpu_job *job, struct amdgpu_bo *gds,
Dgfx_v9_0.c4546 WREG32_SOC15(GC, 0, mmGDS_VMID0_SIZE, adev->gds.gds_size); in gfx_v9_0_do_edc_gds_workarounds()
4558 adev->gds.gds_size); in gfx_v9_0_do_edc_gds_workarounds()
4786 (adev->gds.gds_size)) { in gfx_v9_0_ecc_late_init()
5511 amdgpu_ring_write(ring, ring->adev->gds.gds_compute_max_wave_id); in gfx_v9_0_ring_emit_ib_compute()
5780 AMDGPU_CSA_SIZE - adev->gds.gds_size, in gfx_v9_0_ring_emit_de_meta()
7702 adev->gds.gds_size = 0x10000; in gfx_v9_0_set_gds_init()
7707 adev->gds.gds_size = 0x1000; in gfx_v9_0_set_gds_init()
7713 adev->gds.gds_size = 0; in gfx_v9_0_set_gds_init()
7716 adev->gds.gds_size = 0x10000; in gfx_v9_0_set_gds_init()
7723 adev->gds.gds_compute_max_wave_id = 0x7ff; in gfx_v9_0_set_gds_init()
[all …]
Damdgpu_kms.c722 gds_info.compute_partition_size = adev->gds.gds_size; in amdgpu_info_ioctl()
723 gds_info.gds_total_size = adev->gds.gds_size; in amdgpu_info_ioctl()
724 gds_info.gws_per_compute_partition = adev->gds.gws_size; in amdgpu_info_ioctl()
725 gds_info.oa_per_compute_partition = adev->gds.oa_size; in amdgpu_info_ioctl()
Dgfx_v9_4_3.c2873 amdgpu_ring_write(ring, ring->adev->gds.gds_compute_max_wave_id); in gfx_v9_4_3_ring_emit_ib_compute()
4869 adev->gds.gds_size = 0; in gfx_v9_4_3_set_gds_init()
4872 adev->gds.gds_size = 0x10000; in gfx_v9_4_3_set_gds_init()
4880 adev->gds.gds_compute_max_wave_id = 0; in gfx_v9_4_3_set_gds_init()
4884 adev->gds.gds_compute_max_wave_id = 0x7ff; in gfx_v9_4_3_set_gds_init()
4888 adev->gds.gws_size = 64; in gfx_v9_4_3_set_gds_init()
4889 adev->gds.oa_size = 16; in gfx_v9_4_3_set_gds_init()
Damdgpu_ttm.c1995 r = amdgpu_ttm_init_on_chip(adev, AMDGPU_PL_GDS, adev->gds.gds_size); in amdgpu_ttm_init()
2001 r = amdgpu_ttm_init_on_chip(adev, AMDGPU_PL_GWS, adev->gds.gws_size); in amdgpu_ttm_init()
2007 r = amdgpu_ttm_init_on_chip(adev, AMDGPU_PL_OA, adev->gds.oa_size); in amdgpu_ttm_init()
Dgfx_v7_0.c2247 amdgpu_ring_write(ring, ring->adev->gds.gds_compute_max_wave_id); in gfx_v7_0_ring_emit_ib_compute()
5123 adev->gds.gds_size = RREG32(mmGDS_VMID0_SIZE); in gfx_v7_0_set_gds_init()
5124 adev->gds.gws_size = 64; in gfx_v7_0_set_gds_init()
5125 adev->gds.oa_size = 16; in gfx_v7_0_set_gds_init()
5126 adev->gds.gds_compute_max_wave_id = RREG32(mmGDS_COMPUTE_MAX_WAVE_ID); in gfx_v7_0_set_gds_init()
Dgfx_v11_0.c5671 amdgpu_ring_write(ring, ring->adev->gds.gds_compute_max_wave_id); in gfx_v11_0_ring_emit_ib_compute()
5995 AMDGPU_CSA_SIZE - adev->gds.gds_size, in gfx_v11_0_ring_emit_de_meta()
6990 adev->gds.gds_size = 0x1000; in gfx_v11_0_set_gds_init()
6991 adev->gds.gds_compute_max_wave_id = total_cu * 32 - 1; in gfx_v11_0_set_gds_init()
6992 adev->gds.gws_size = 64; in gfx_v11_0_set_gds_init()
6993 adev->gds.oa_size = 16; in gfx_v11_0_set_gds_init()
Dgfx_v8_0.c6134 amdgpu_ring_write(ring, ring->adev->gds.gds_compute_max_wave_id); in gfx_v8_0_ring_emit_ib_compute()
7124 adev->gds.gds_size = RREG32(mmGDS_VMID0_SIZE); in gfx_v8_0_set_gds_init()
7125 adev->gds.gws_size = 64; in gfx_v8_0_set_gds_init()
7126 adev->gds.oa_size = 16; in gfx_v8_0_set_gds_init()
7127 adev->gds.gds_compute_max_wave_id = RREG32(mmGDS_COMPUTE_MAX_WAVE_ID); in gfx_v8_0_set_gds_init()
Damdgpu.h1031 struct amdgpu_gds gds; member
Dmes_v12_0.c575 mes_set_hw_res_pkt.gds_size = adev->gds.gds_size; in mes_v12_0_set_hw_resources()
Dmes_v11_0.c646 mes_set_hw_res_pkt.gds_size = adev->gds.gds_size; in mes_v11_0_set_hw_resources()
Dgfx_v10_0.c8590 amdgpu_ring_write(ring, ring->adev->gds.gds_compute_max_wave_id); in gfx_v10_0_ring_emit_ib_compute()
8846 AMDGPU_CSA_SIZE - adev->gds.gds_size, in gfx_v10_0_ring_emit_de_meta()
9930 adev->gds.gds_size = 0x10000; in gfx_v10_0_set_gds_init()
9931 adev->gds.gds_compute_max_wave_id = total_cu * 32 - 1; in gfx_v10_0_set_gds_init()
9932 adev->gds.gws_size = 64; in gfx_v10_0_set_gds_init()
9933 adev->gds.oa_size = 16; in gfx_v10_0_set_gds_init()
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_device.c573 node->adev->gds.gws_size, &node->gws); in kfd_gws_init()
601 node->adev->gds.gws_size); in kfd_init_node()
Dkfd_process_queue_manager.c156 pdd->qpd.num_gws = gws ? dev->adev->gds.gws_size : 0; in pqm_set_gws()
Dkfd_topology.c2105 dev->gpu->adev->gds.gws_size : 0; in kfd_topology_add_device()
/linux-6.12.1/drivers/base/
Dcpu.c600 CPU_SHOW_VULN_FALLBACK(gds);