Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_dev_coredump.c388 drm_printf(&p, "gds: total size: %d\n", coredump->adev->gds.gds_size); in amdgpu_devcoredump_format()
389 drm_printf(&p, "gds: compute partition size: %d\n", coredump->adev->gds.gds_size); in amdgpu_devcoredump_format()
390 drm_printf(&p, "gds: gws per compute partition: %d\n", coredump->adev->gds.gws_size); in amdgpu_devcoredump_format()
391 drm_printf(&p, "gds: os per compute partition: %d\n", coredump->adev->gds.oa_size); in amdgpu_devcoredump_format()
H A Dgfx_v9_0.c4654 WREG32_SOC15(GC, 0, mmGDS_VMID0_SIZE, adev->gds.gds_size); in gfx_v9_0_do_edc_gds_workarounds()
4666 adev->gds.gds_size); in gfx_v9_0_do_edc_gds_workarounds()
4896 (adev->gds.gds_size)) { in gfx_v9_0_ecc_late_init()
5572 amdgpu_ring_write(ring, ring->adev->gds.gds_compute_max_wave_id); in gfx_v9_0_ring_emit_ib_compute()
5844 AMDGPU_CSA_SIZE - adev->gds.gds_size, in gfx_v9_0_ring_emit_de_meta()
7813 adev->gds.gds_size = 0x10000; in gfx_v9_0_set_gds_init()
7818 adev->gds.gds_size = 0x1000; in gfx_v9_0_set_gds_init()
7824 adev->gds.gds_size = 0; in gfx_v9_0_set_gds_init()
7827 adev->gds.gds_size = 0x10000; in gfx_v9_0_set_gds_init()
7834 adev->gds.gds_compute_max_wave_id = 0x7ff; in gfx_v9_0_set_gds_init()
[all …]
H A Damdgpu_ttm.c2259 r = amdgpu_ttm_init_on_chip(adev, AMDGPU_PL_GDS, adev->gds.gds_size); in amdgpu_ttm_init()
2265 r = amdgpu_ttm_init_on_chip(adev, AMDGPU_PL_GWS, adev->gds.gws_size); in amdgpu_ttm_init()
2271 r = amdgpu_ttm_init_on_chip(adev, AMDGPU_PL_OA, adev->gds.oa_size); in amdgpu_ttm_init()
H A Dgfx_v9_4_3.c2971 amdgpu_ring_write(ring, ring->adev->gds.gds_compute_max_wave_id); in gfx_v9_4_3_ring_emit_ib_compute()
4092 adev->gds.gds_size = 0; in gfx_v9_4_3_set_gds_init()
4093 adev->gds.gds_compute_max_wave_id = 0; in gfx_v9_4_3_set_gds_init()
4094 adev->gds.gws_size = 64; in gfx_v9_4_3_set_gds_init()
4095 adev->gds.oa_size = 16; in gfx_v9_4_3_set_gds_init()
H A Damdgpu.h791 struct amdgpu_gds gds; member
H A Dgfx_v11_0.c6062 amdgpu_ring_write(ring, ring->adev->gds.gds_compute_max_wave_id); in gfx_v11_0_ring_emit_ib_compute()
6315 AMDGPU_CSA_SIZE - adev->gds.gds_size, in gfx_v11_0_ring_emit_de_meta()
7273 adev->gds.gds_size = 0x1000; in gfx_v11_0_set_gds_init()
7274 adev->gds.gds_compute_max_wave_id = total_cu * 32 - 1; in gfx_v11_0_set_gds_init()
7275 adev->gds.gws_size = 64; in gfx_v11_0_set_gds_init()
7276 adev->gds.oa_size = 16; in gfx_v11_0_set_gds_init()
H A Dgfx_v8_0.c6033 amdgpu_ring_write(ring, ring->adev->gds.gds_compute_max_wave_id); in gfx_v8_0_ring_emit_ib_compute()
6948 adev->gds.gds_size = RREG32(mmGDS_VMID0_SIZE); in gfx_v8_0_set_gds_init()
6949 adev->gds.gws_size = 64; in gfx_v8_0_set_gds_init()
6950 adev->gds.oa_size = 16; in gfx_v8_0_set_gds_init()
6951 adev->gds.gds_compute_max_wave_id = RREG32(mmGDS_COMPUTE_MAX_WAVE_ID); in gfx_v8_0_set_gds_init()
H A Dgfx_v10_0.c8707 amdgpu_ring_write(ring, ring->adev->gds.gds_compute_max_wave_id); in gfx_v10_0_ring_emit_ib_compute()
8960 AMDGPU_CSA_SIZE - adev->gds.gds_size, in gfx_v10_0_ring_emit_de_meta()
10049 adev->gds.gds_size = 0x10000; in gfx_v10_0_set_gds_init()
10050 adev->gds.gds_compute_max_wave_id = total_cu * 32 - 1; in gfx_v10_0_set_gds_init()
10051 adev->gds.gws_size = 64; in gfx_v10_0_set_gds_init()
10052 adev->gds.oa_size = 16; in gfx_v10_0_set_gds_init()
H A Dmes_v11_0.c985 mes_set_hw_res_pkt.gds_size = adev->gds.gds_size; in mes_v11_0_set_hw_resources()
H A Dmes_v12_1.c707 mes_set_hw_res_pkt.gds_size = adev->gds.gds_size; in mes_v12_1_set_hw_resources()
H A Dmes_v12_0.c954 mes_set_hw_res_pkt.gds_size = adev->gds.gds_size; in mes_v12_0_set_hw_resources()
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_device.c606 node->adev->gds.gws_size = 64; in kfd_gws_init()
608 node->adev->gds.gws_size, &node->gws); in kfd_gws_init()
637 node->adev->gds.gws_size); in kfd_init_node()
H A Dkfd_process_queue_manager.c161 pdd->qpd.num_gws = gws ? dev->adev->gds.gws_size : 0; in pqm_set_gws()
/linux/drivers/base/
H A Dcpu.c618 CPU_SHOW_VULN_FALLBACK(gds);