Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdkfd/
A Dkfd_device_queue_manager_vi.c115 qpd->sh_mem_config = (qpd->sh_mem_config & in set_cache_memory_policy_vi()
144 qpd->sh_mem_config = in set_cache_memory_policy_vi_tonga()
162 if (qpd->sh_mem_config == 0) { in update_qpd_vi()
163 qpd->sh_mem_config = in update_qpd_vi()
177 qpd->sh_mem_config |= SH_MEM_ADDRESS_MODE_HSA32 << in update_qpd_vi()
182 qpd->sh_mem_config |= SH_MEM_ADDRESS_MODE_HSA64 << in update_qpd_vi()
184 qpd->sh_mem_config |= 1 << in update_qpd_vi()
203 if (qpd->sh_mem_config == 0) { in update_qpd_vi_tonga()
204 qpd->sh_mem_config = in update_qpd_vi_tonga()
A Dkfd_device_queue_manager_cik.c108 qpd->sh_mem_config = (qpd->sh_mem_config & PTR32) in set_cache_memory_policy_cik()
125 if (qpd->sh_mem_config == 0) { in update_qpd_cik()
126 qpd->sh_mem_config = in update_qpd_cik()
137 qpd->sh_mem_config |= PTR32; in update_qpd_cik()
141 qpd->sh_mem_config |= 1 << SH_MEM_CONFIG__PRIVATE_ATC__SHIFT; in update_qpd_cik()
159 if (qpd->sh_mem_config == 0) { in update_qpd_cik_hawaii()
160 qpd->sh_mem_config = in update_qpd_cik_hawaii()
A Dkfd_device_queue_manager_v9.c60 if (qpd->sh_mem_config == 0) { in update_qpd_v9()
61 qpd->sh_mem_config = in update_qpd_v9()
70 qpd->sh_mem_config |= in update_qpd_v9()
74 qpd->sh_mem_config |= in update_qpd_v9()
A Dkfd_device_queue_manager_v10.c59 if (qpd->sh_mem_config == 0) { in update_qpd_v10()
60 qpd->sh_mem_config = in update_qpd_v10()
69 qpd->sh_mem_config |= in update_qpd_v10()
A Dkfd_pm4_headers.h77 uint32_t sh_mem_config; member
125 uint32_t sh_mem_config; member
A Dkfd_packet_manager_v9.c51 packet->sh_mem_config = qpd->sh_mem_config; in pm_map_process_v9()
96 packet->sh_mem_config = qpd->sh_mem_config; in pm_map_process_aldebaran()
A Dkfd_pm4_headers_aldebaran.h55 uint32_t sh_mem_config; member
A Dkfd_packet_manager_vi.c61 packet->sh_mem_config = qpd->sh_mem_config; in pm_map_process_vi()
A Dkfd_pm4_headers_vi.h172 uint32_t sh_mem_config; member
A Dkfd_pm4_headers_ai.h161 uint32_t sh_mem_config; member
A Dkfd_priv.h612 uint32_t sh_mem_config; member
A Dkfd_device_queue_manager.c134 qpd->sh_mem_config, in program_sh_mem_settings()
1646 qpd->sh_mem_config, qpd->sh_mem_ape1_base, in set_cache_memory_policy()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_amdkfd_gfx_v9.h26 uint32_t sh_mem_config,
A Damdgpu_amdkfd_gfx_v8.c82 uint32_t sh_mem_config, in kgd_program_sh_mem_settings() argument
91 WREG32(mmSH_MEM_CONFIG, sh_mem_config); in kgd_program_sh_mem_settings()
A Damdgpu_amdkfd_gfx_v7.c125 uint32_t sh_mem_config, in kgd_program_sh_mem_settings() argument
134 WREG32(mmSH_MEM_CONFIG, sh_mem_config); in kgd_program_sh_mem_settings()
A Damdgpu_amdkfd_gfx_v10.c90 uint32_t sh_mem_config, in kgd_program_sh_mem_settings() argument
99 WREG32_SOC15(GC, 0, mmSH_MEM_CONFIG, sh_mem_config); in kgd_program_sh_mem_settings()
A Damdgpu_amdkfd_gfx_v9.c97 uint32_t sh_mem_config, in kgd_gfx_v9_program_sh_mem_settings() argument
106 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.c89 uint32_t sh_mem_config, in program_sh_mem_settings_v10_3() argument
98 WREG32_SOC15(GC, 0, mmSH_MEM_CONFIG, sh_mem_config); in program_sh_mem_settings_v10_3()
A Dgfx_v7_0.c1854 uint32_t sh_mem_config; in gfx_v7_0_init_compute_vmid() local
1864 sh_mem_config = SH_MEM_ALIGNMENT_MODE_UNALIGNED << in gfx_v7_0_init_compute_vmid()
1866 sh_mem_config |= MTYPE_NONCACHED << SH_MEM_CONFIG__DEFAULT_MTYPE__SHIFT; in gfx_v7_0_init_compute_vmid()
1871 WREG32(mmSH_MEM_CONFIG, sh_mem_config); in gfx_v7_0_init_compute_vmid()
A Dgfx_v8_0.c3702 uint32_t sh_mem_config; in gfx_v8_0_init_compute_vmid() local
3713 sh_mem_config = SH_MEM_ADDRESS_MODE_HSA64 << in gfx_v8_0_init_compute_vmid()
3724 WREG32(mmSH_MEM_CONFIG, sh_mem_config); in gfx_v8_0_init_compute_vmid()
A Dgfx_v9_0.c2556 uint32_t sh_mem_config; in gfx_v9_0_init_compute_vmid() local
2567 sh_mem_config = SH_MEM_ADDRESS_MODE_64 | in gfx_v9_0_init_compute_vmid()
2575 WREG32_SOC15_RLC(GC, 0, mmSH_MEM_CONFIG, sh_mem_config); in gfx_v9_0_init_compute_vmid()
/linux/drivers/gpu/drm/amd/include/
A Dkgd_kfd_interface.h232 uint32_t sh_mem_config, uint32_t sh_mem_ape1_base,

Completed in 60 milliseconds