/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_dev_coredump.c | 243 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()
|
D | amdgpu_job.c | 237 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()
|
D | amdgpu_job.h | 98 void amdgpu_job_set_resources(struct amdgpu_job *job, struct amdgpu_bo *gds,
|
D | gfx_v9_0.c | 4546 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 …]
|
D | amdgpu_kms.c | 722 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()
|
D | gfx_v9_4_3.c | 2873 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()
|
D | amdgpu_ttm.c | 1995 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()
|
D | gfx_v7_0.c | 2247 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()
|
D | gfx_v11_0.c | 5671 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()
|
D | gfx_v8_0.c | 6134 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()
|
D | amdgpu.h | 1031 struct amdgpu_gds gds; member
|
D | mes_v12_0.c | 575 mes_set_hw_res_pkt.gds_size = adev->gds.gds_size; in mes_v12_0_set_hw_resources()
|
D | mes_v11_0.c | 646 mes_set_hw_res_pkt.gds_size = adev->gds.gds_size; in mes_v11_0_set_hw_resources()
|
D | gfx_v10_0.c | 8590 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/ |
D | kfd_device.c | 573 node->adev->gds.gws_size, &node->gws); in kfd_gws_init() 601 node->adev->gds.gws_size); in kfd_init_node()
|
D | kfd_process_queue_manager.c | 156 pdd->qpd.num_gws = gws ? dev->adev->gds.gws_size : 0; in pqm_set_gws()
|
D | kfd_topology.c | 2105 dev->gpu->adev->gds.gws_size : 0; in kfd_topology_add_device()
|
/linux-6.12.1/drivers/base/ |
D | cpu.c | 600 CPU_SHOW_VULN_FALLBACK(gds);
|