Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpu/drm/amd/amdkfd/
A Dkfd_device_queue_manager_vi.c116 qpd->sh_mem_config = (qpd->sh_mem_config & in set_cache_memory_policy_vi()
145 qpd->sh_mem_config = in set_cache_memory_policy_vi_tonga()
163 if (qpd->sh_mem_config == 0) { in update_qpd_vi()
164 qpd->sh_mem_config = in update_qpd_vi()
178 qpd->sh_mem_config |= SH_MEM_ADDRESS_MODE_HSA32 << in update_qpd_vi()
183 qpd->sh_mem_config |= SH_MEM_ADDRESS_MODE_HSA64 << in update_qpd_vi()
185 qpd->sh_mem_config |= 1 << in update_qpd_vi()
204 if (qpd->sh_mem_config == 0) { in update_qpd_vi_tonga()
205 qpd->sh_mem_config = in update_qpd_vi_tonga()
A Dkfd_device_queue_manager_v9.c61 if (qpd->sh_mem_config == 0) { in update_qpd_v9()
62 qpd->sh_mem_config = SH_MEM_ALIGNMENT_MODE_UNALIGNED << in update_qpd_v9()
66 qpd->sh_mem_config |= 1 << SH_MEM_CONFIG__RETRY_DISABLE__SHIFT; in update_qpd_v9()
74 qpd->sh_mem_config |= 1 << SH_MEM_CONFIG__RETRY_DISABLE__SHIFT; in update_qpd_v9()
76 qpd->sh_mem_config &= ~(1 << SH_MEM_CONFIG__RETRY_DISABLE__SHIFT); in update_qpd_v9()
82 qpd->sh_mem_config); in update_qpd_v9()
A Dkfd_device_queue_manager_cik.c109 qpd->sh_mem_config = (qpd->sh_mem_config & PTR32) in set_cache_memory_policy_cik()
126 if (qpd->sh_mem_config == 0) { in update_qpd_cik()
127 qpd->sh_mem_config = in update_qpd_cik()
138 qpd->sh_mem_config |= PTR32; in update_qpd_cik()
142 qpd->sh_mem_config |= 1 << SH_MEM_CONFIG__PRIVATE_ATC__SHIFT; in update_qpd_cik()
160 if (qpd->sh_mem_config == 0) { in update_qpd_cik_hawaii()
161 qpd->sh_mem_config = in update_qpd_cik_hawaii()
A 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()
A 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()
A Dkfd_pm4_headers.h78 uint32_t sh_mem_config; member
126 uint32_t sh_mem_config; member
A Dkfd_packet_manager_v9.c52 packet->sh_mem_config = qpd->sh_mem_config; in pm_map_process_v9()
97 packet->sh_mem_config = qpd->sh_mem_config; in pm_map_process_aldebaran()
A Dkfd_pm4_headers_aldebaran.h56 uint32_t sh_mem_config; member
A Dkfd_packet_manager_vi.c62 packet->sh_mem_config = qpd->sh_mem_config; in pm_map_process_vi()
A Dkfd_pm4_headers_vi.h173 uint32_t sh_mem_config; member
A Dkfd_pm4_headers_ai.h162 uint32_t sh_mem_config; member
A Dkfd_priv.h639 uint32_t sh_mem_config; member
A Dkfd_device_queue_manager.c132 qpd->sh_mem_config, in program_sh_mem_settings()
1990 qpd->sh_mem_config, qpd->sh_mem_ape1_base, in set_cache_memory_policy()
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_amdkfd_gfx_v9.h26 uint32_t sh_mem_config,
A 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()
A 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()
A Damdgpu_amdkfd_gfx_v11.c78 uint32_t sh_mem_config, in program_sh_mem_settings_v11() argument
85 WREG32(SOC15_REG_OFFSET(GC, 0, regSH_MEM_CONFIG), sh_mem_config); in program_sh_mem_settings_v11()
A Damdgpu_amdkfd_gfx_v10.c79 uint32_t sh_mem_config, in kgd_program_sh_mem_settings() argument
86 WREG32_SOC15(GC, 0, mmSH_MEM_CONFIG, sh_mem_config); in kgd_program_sh_mem_settings()
A Damdgpu_amdkfd_gfx_v9.c86 uint32_t sh_mem_config, in kgd_gfx_v9_program_sh_mem_settings() argument
93 WREG32_RLC(SOC15_REG_OFFSET(GC, 0, mmSH_MEM_CONFIG), sh_mem_config); in kgd_gfx_v9_program_sh_mem_settings()
A Damdgpu_amdkfd_gfx_v10_3.c80 uint32_t sh_mem_config, in program_sh_mem_settings_v10_3() argument
87 WREG32_SOC15(GC, 0, mmSH_MEM_CONFIG, sh_mem_config); in program_sh_mem_settings_v10_3()
A Dgfx_v7_0.c1820 uint32_t sh_mem_config; in gfx_v7_0_init_compute_vmid() local
1830 sh_mem_config = SH_MEM_ALIGNMENT_MODE_UNALIGNED << in gfx_v7_0_init_compute_vmid()
1832 sh_mem_config |= MTYPE_NONCACHED << SH_MEM_CONFIG__DEFAULT_MTYPE__SHIFT; in gfx_v7_0_init_compute_vmid()
1837 WREG32(mmSH_MEM_CONFIG, sh_mem_config); in gfx_v7_0_init_compute_vmid()
A Dgfx_v8_0.c3659 uint32_t sh_mem_config; in gfx_v8_0_init_compute_vmid() local
3670 sh_mem_config = SH_MEM_ADDRESS_MODE_HSA64 << in gfx_v8_0_init_compute_vmid()
3681 WREG32(mmSH_MEM_CONFIG, sh_mem_config); in gfx_v8_0_init_compute_vmid()
A Dgfx_v9_0.c2296 uint32_t sh_mem_config; in gfx_v9_0_init_compute_vmid() local
2307 sh_mem_config = SH_MEM_ADDRESS_MODE_64 | in gfx_v9_0_init_compute_vmid()
2315 WREG32_SOC15_RLC(GC, 0, mmSH_MEM_CONFIG, sh_mem_config); in gfx_v9_0_init_compute_vmid()
/linux-6.3-rc2/drivers/gpu/drm/amd/include/
A Dkgd_kfd_interface.h232 uint32_t sh_mem_config, uint32_t sh_mem_ape1_base,

Completed in 72 milliseconds