Home
last modified time | relevance | path

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

/linux-6.15/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_dev_coredump.c244 drm_printf(&p, "gds: total size: %d\n", coredump->adev->gds.gds_size); in amdgpu_devcoredump_read()
245 drm_printf(&p, "gds: compute partition size: %d\n", coredump->adev->gds.gds_size); in amdgpu_devcoredump_read()
246 drm_printf(&p, "gds: gws per compute partition: %d\n", coredump->adev->gds.gws_size); in amdgpu_devcoredump_read()
247 drm_printf(&p, "gds: os per compute partition: %d\n", coredump->adev->gds.oa_size); in amdgpu_devcoredump_read()
H A Damdgpu_job.c250 void amdgpu_job_set_resources(struct amdgpu_job *job, struct amdgpu_bo *gds, in amdgpu_job_set_resources() argument
253 if (gds) { in amdgpu_job_set_resources()
254 job->gds_base = amdgpu_bo_gpu_offset(gds) >> PAGE_SHIFT; in amdgpu_job_set_resources()
255 job->gds_size = amdgpu_bo_size(gds) >> PAGE_SHIFT; in amdgpu_job_set_resources()
H A Damdgpu_job.h98 void amdgpu_job_set_resources(struct amdgpu_job *job, struct amdgpu_bo *gds,
H A Dgfx_v9_0.c4580 adev->gds.gds_size); in gfx_v9_0_do_edc_gds_workarounds()
4808 (adev->gds.gds_size)) { in gfx_v9_0_ecc_late_init()
5792 AMDGPU_CSA_SIZE - adev->gds.gds_size, in gfx_v9_0_ring_emit_de_meta()
7728 adev->gds.gds_size = 0x10000; in gfx_v9_0_set_gds_init()
7733 adev->gds.gds_size = 0x1000; in gfx_v9_0_set_gds_init()
7739 adev->gds.gds_size = 0; in gfx_v9_0_set_gds_init()
7742 adev->gds.gds_size = 0x10000; in gfx_v9_0_set_gds_init()
7749 adev->gds.gds_compute_max_wave_id = 0x7ff; in gfx_v9_0_set_gds_init()
7766 adev->gds.gds_compute_max_wave_id = 0; in gfx_v9_0_set_gds_init()
7774 adev->gds.gws_size = 64; in gfx_v9_0_set_gds_init()
[all …]
H A 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()
H A Damdgpu_ttm.c2017 r = amdgpu_ttm_init_on_chip(adev, AMDGPU_PL_GDS, adev->gds.gds_size); in amdgpu_ttm_init()
2023 r = amdgpu_ttm_init_on_chip(adev, AMDGPU_PL_GWS, adev->gds.gws_size); in amdgpu_ttm_init()
2029 r = amdgpu_ttm_init_on_chip(adev, AMDGPU_PL_OA, adev->gds.oa_size); in amdgpu_ttm_init()
H A Dgfx_v7_0.c2253 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()
H A Dgfx_v9_4_3.c2822 amdgpu_ring_write(ring, ring->adev->gds.gds_compute_max_wave_id); in gfx_v9_4_3_ring_emit_ib_compute()
4792 adev->gds.gds_size = 0; in gfx_v9_4_3_set_gds_init()
4793 adev->gds.gds_compute_max_wave_id = 0; in gfx_v9_4_3_set_gds_init()
4794 adev->gds.gws_size = 64; in gfx_v9_4_3_set_gds_init()
4795 adev->gds.oa_size = 16; in gfx_v9_4_3_set_gds_init()
H A Dgfx_v11_0.c5734 amdgpu_ring_write(ring, ring->adev->gds.gds_compute_max_wave_id); in gfx_v11_0_ring_emit_ib_compute()
6058 AMDGPU_CSA_SIZE - adev->gds.gds_size, in gfx_v11_0_ring_emit_de_meta()
7044 adev->gds.gds_size = 0x1000; in gfx_v11_0_set_gds_init()
7045 adev->gds.gds_compute_max_wave_id = total_cu * 32 - 1; in gfx_v11_0_set_gds_init()
7046 adev->gds.gws_size = 64; in gfx_v11_0_set_gds_init()
7047 adev->gds.oa_size = 16; in gfx_v11_0_set_gds_init()
H A Dgfx_v8_0.c6117 amdgpu_ring_write(ring, ring->adev->gds.gds_compute_max_wave_id); in gfx_v8_0_ring_emit_ib_compute()
7105 adev->gds.gds_size = RREG32(mmGDS_VMID0_SIZE); in gfx_v8_0_set_gds_init()
7106 adev->gds.gws_size = 64; in gfx_v8_0_set_gds_init()
7107 adev->gds.oa_size = 16; in gfx_v8_0_set_gds_init()
7108 adev->gds.gds_compute_max_wave_id = RREG32(mmGDS_COMPUTE_MAX_WAVE_ID); in gfx_v8_0_set_gds_init()
H A Damdgpu.h1059 struct amdgpu_gds gds; member
H A Dmes_v11_0.c686 mes_set_hw_res_pkt.gds_size = adev->gds.gds_size; in mes_v11_0_set_hw_resources()
H A Dgfx_v10_0.c8663 amdgpu_ring_write(ring, ring->adev->gds.gds_compute_max_wave_id); in gfx_v10_0_ring_emit_ib_compute()
8919 AMDGPU_CSA_SIZE - adev->gds.gds_size, in gfx_v10_0_ring_emit_de_meta()
10007 adev->gds.gds_size = 0x10000; in gfx_v10_0_set_gds_init()
10008 adev->gds.gds_compute_max_wave_id = total_cu * 32 - 1; in gfx_v10_0_set_gds_init()
10009 adev->gds.gws_size = 64; in gfx_v10_0_set_gds_init()
10010 adev->gds.oa_size = 16; in gfx_v10_0_set_gds_init()
H A Dmes_v12_0.c712 mes_set_hw_res_pkt.gds_size = adev->gds.gds_size; in mes_v12_0_set_hw_resources()
/linux-6.15/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_device.c596 node->adev->gds.gws_size = 64; in kfd_gws_init()
598 node->adev->gds.gws_size, &node->gws); in kfd_gws_init()
627 node->adev->gds.gws_size); in kfd_init_node()
H A Dkfd_process_queue_manager.c160 pdd->qpd.num_gws = gws ? dev->adev->gds.gws_size : 0; in pqm_set_gws()
H A Dkfd_topology.c2106 dev->gpu->adev->gds.gws_size : 0; in kfd_topology_add_device()
/linux-6.15/drivers/base/
H A Dcpu.c600 CPU_SHOW_VULN_FALLBACK(gds);