Home
last modified time | relevance | path

Searched refs:sh_mem_config (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_device_queue_manager_v9.c59 if (qpd->sh_mem_config == 0) { in update_qpd_v9()
60 qpd->sh_mem_config = SH_MEM_ALIGNMENT_MODE_UNALIGNED << in update_qpd_v9()
64 qpd->sh_mem_config |= 1 << SH_MEM_CONFIG__RETRY_DISABLE__SHIFT; in update_qpd_v9()
68 qpd->sh_mem_config |= in update_qpd_v9()
77 qpd->sh_mem_config |= 1 << SH_MEM_CONFIG__RETRY_DISABLE__SHIFT; in update_qpd_v9()
79 qpd->sh_mem_config &= ~(1 << SH_MEM_CONFIG__RETRY_DISABLE__SHIFT); in update_qpd_v9()
85 qpd->sh_mem_config); in update_qpd_v9()
Dkfd_device_queue_manager_cik.c96 qpd->sh_mem_config = (qpd->sh_mem_config & PTR32) in set_cache_memory_policy_cik()
113 if (qpd->sh_mem_config == 0) { in update_qpd_cik()
114 qpd->sh_mem_config = in update_qpd_cik()
Dkfd_device_queue_manager_vi.c97 qpd->sh_mem_config = in set_cache_memory_policy_vi()
115 if (qpd->sh_mem_config == 0) { in update_qpd_vi()
116 qpd->sh_mem_config = in update_qpd_vi()
Dkfd_device_queue_manager_v11.c59 if (qpd->sh_mem_config == 0) { in update_qpd_v11()
60 qpd->sh_mem_config = in update_qpd_v11()
Dkfd_device_queue_manager_v10.c60 if (qpd->sh_mem_config == 0) { in update_qpd_v10()
61 qpd->sh_mem_config = in update_qpd_v10()
Dkfd_device_queue_manager_v12.c59 if (qpd->sh_mem_config == 0) { in update_qpd_v12()
60 qpd->sh_mem_config = in update_qpd_v12()
Dkfd_pm4_headers.h78 uint32_t sh_mem_config; member
126 uint32_t sh_mem_config; member
Dkfd_packet_manager_v9.c64 packet->sh_mem_config = qpd->sh_mem_config; in pm_map_process_v9()
127 packet->sh_mem_config = qpd->sh_mem_config; in pm_map_process_aldebaran()
Dkfd_pm4_headers_aldebaran.h56 uint32_t sh_mem_config; member
Dkfd_packet_manager_vi.c62 packet->sh_mem_config = qpd->sh_mem_config; in pm_map_process_vi()
Dkfd_pm4_headers_vi.h173 uint32_t sh_mem_config; member
Dkfd_pm4_headers_ai.h166 uint32_t sh_mem_config; member
Dkfd_priv.h680 uint32_t sh_mem_config; member
Dkfd_device_queue_manager.c149 dqm->dev->adev, qpd->vmid, qpd->sh_mem_config, in program_sh_mem_settings()
2516 qpd->sh_mem_config, qpd->sh_mem_ape1_base, in set_cache_memory_policy()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gfx_v9.h24 uint32_t sh_mem_config,
Damdgpu_amdkfd_gfx_v7.c78 uint32_t sh_mem_config, in kgd_program_sh_mem_settings() argument
85 WREG32(mmSH_MEM_CONFIG, sh_mem_config); in kgd_program_sh_mem_settings()
Damdgpu_amdkfd_gfx_v8.c72 uint32_t sh_mem_config, in kgd_program_sh_mem_settings() argument
79 WREG32(mmSH_MEM_CONFIG, sh_mem_config); in kgd_program_sh_mem_settings()
Damdgpu_amdkfd_gfx_v10_3.c81 uint32_t sh_mem_config, in program_sh_mem_settings_v10_3() argument
88 WREG32_SOC15(GC, 0, mmSH_MEM_CONFIG, sh_mem_config); in program_sh_mem_settings_v10_3()
Damdgpu_amdkfd_gfx_v11.c79 uint32_t sh_mem_config, in program_sh_mem_settings_v11() argument
86 WREG32(SOC15_REG_OFFSET(GC, 0, regSH_MEM_CONFIG), sh_mem_config); in program_sh_mem_settings_v11()
Damdgpu_amdkfd_gfx_v10.c81 uint32_t sh_mem_config, in kgd_program_sh_mem_settings() argument
88 WREG32_SOC15(GC, 0, mmSH_MEM_CONFIG, sh_mem_config); in kgd_program_sh_mem_settings()
Damdgpu_amdkfd_gfx_v9.c87 uint32_t sh_mem_config, in kgd_gfx_v9_program_sh_mem_settings() argument
94 WREG32_SOC15_RLC(GC, GET_INST(GC, inst), mmSH_MEM_CONFIG, sh_mem_config); in kgd_gfx_v9_program_sh_mem_settings()
Dgfx_v7_0.c1816 uint32_t sh_mem_config; in gfx_v7_0_init_compute_vmid() local
1826 sh_mem_config = SH_MEM_ALIGNMENT_MODE_UNALIGNED << in gfx_v7_0_init_compute_vmid()
1828 sh_mem_config |= MTYPE_NONCACHED << SH_MEM_CONFIG__DEFAULT_MTYPE__SHIFT; in gfx_v7_0_init_compute_vmid()
1833 WREG32(mmSH_MEM_CONFIG, sh_mem_config); in gfx_v7_0_init_compute_vmid()
Dgfx_v9_4_3.c1219 uint32_t sh_mem_config; in gfx_v9_4_3_xcc_init_compute_vmid() local
1231 sh_mem_config = SH_MEM_ADDRESS_MODE_64 | in gfx_v9_4_3_xcc_init_compute_vmid()
1239 WREG32_SOC15_RLC(GC, GET_INST(GC, xcc_id), regSH_MEM_CONFIG, sh_mem_config); in gfx_v9_4_3_xcc_init_compute_vmid()
Dgfx_v8_0.c3657 uint32_t sh_mem_config; in gfx_v8_0_init_compute_vmid() local
3668 sh_mem_config = SH_MEM_ADDRESS_MODE_HSA64 << in gfx_v8_0_init_compute_vmid()
3679 WREG32(mmSH_MEM_CONFIG, sh_mem_config); in gfx_v8_0_init_compute_vmid()
/linux-6.12.1/drivers/gpu/drm/amd/include/
Dkgd_kfd_interface.h223 uint32_t sh_mem_config, uint32_t sh_mem_ape1_base,

12