Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
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()
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()
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()
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()
66 qpd->sh_mem_config |= in update_qpd_v9()
Dkfd_pm4_headers.h77 uint32_t sh_mem_config; member
125 uint32_t sh_mem_config; member
Dkfd_packet_manager_v9.c51 packet->sh_mem_config = qpd->sh_mem_config; in pm_map_process_v9()
Dkfd_packet_manager_vi.c61 packet->sh_mem_config = qpd->sh_mem_config; in pm_map_process_vi()
Dkfd_pm4_headers_vi.h172 uint32_t sh_mem_config; member
Dkfd_pm4_headers_ai.h161 uint32_t sh_mem_config; member
Dkfd_priv.h593 uint32_t sh_mem_config; member
Dkfd_device_queue_manager.c134 qpd->sh_mem_config, in program_sh_mem_settings()
1606 qpd->sh_mem_config, qpd->sh_mem_ape1_base, in set_cache_memory_policy()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gfx_v9.h26 uint32_t sh_mem_config,
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()
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()
Damdgpu_amdkfd_gfx_v10.c91 uint32_t sh_mem_config, in kgd_program_sh_mem_settings() argument
100 WREG32(SOC15_REG_OFFSET(GC, 0, mmSH_MEM_CONFIG), sh_mem_config); in kgd_program_sh_mem_settings()
Damdgpu_amdkfd_gfx_v9.c95 uint32_t sh_mem_config, in kgd_gfx_v9_program_sh_mem_settings() argument
104 WREG32_RLC(SOC15_REG_OFFSET(GC, 0, mmSH_MEM_CONFIG), sh_mem_config); in kgd_gfx_v9_program_sh_mem_settings()
Damdgpu_amdkfd_gfx_v10_3.c90 uint32_t sh_mem_config, in program_sh_mem_settings_v10_3() argument
99 WREG32(SOC15_REG_OFFSET(GC, 0, mmSH_MEM_CONFIG), sh_mem_config); in program_sh_mem_settings_v10_3()
Dgfx_v7_0.c1856 uint32_t sh_mem_config; in gfx_v7_0_init_compute_vmid() local
1866 sh_mem_config = SH_MEM_ALIGNMENT_MODE_UNALIGNED << in gfx_v7_0_init_compute_vmid()
1868 sh_mem_config |= MTYPE_NONCACHED << SH_MEM_CONFIG__DEFAULT_MTYPE__SHIFT; in gfx_v7_0_init_compute_vmid()
1873 WREG32(mmSH_MEM_CONFIG, sh_mem_config); in gfx_v7_0_init_compute_vmid()
Dgfx_v8_0.c3694 uint32_t sh_mem_config; in gfx_v8_0_init_compute_vmid() local
3705 sh_mem_config = SH_MEM_ADDRESS_MODE_HSA64 << in gfx_v8_0_init_compute_vmid()
3716 WREG32(mmSH_MEM_CONFIG, sh_mem_config); in gfx_v8_0_init_compute_vmid()
Dgfx_v9_0.c2495 uint32_t sh_mem_config; in gfx_v9_0_init_compute_vmid() local
2506 sh_mem_config = SH_MEM_ADDRESS_MODE_64 | in gfx_v9_0_init_compute_vmid()
2514 WREG32_SOC15_RLC(GC, 0, mmSH_MEM_CONFIG, sh_mem_config); in gfx_v9_0_init_compute_vmid()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/include/
Dkgd_kfd_interface.h231 uint32_t sh_mem_config, uint32_t sh_mem_ape1_base,