/linux-6.3-rc2/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_device_queue_manager_vi.c | 116 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 D | kfd_device_queue_manager_v9.c | 61 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 D | kfd_device_queue_manager_cik.c | 109 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 D | kfd_device_queue_manager_v11.c | 59 if (qpd->sh_mem_config == 0) { in update_qpd_v11() 60 qpd->sh_mem_config = in update_qpd_v11()
|
A D | kfd_device_queue_manager_v10.c | 60 if (qpd->sh_mem_config == 0) { in update_qpd_v10() 61 qpd->sh_mem_config = in update_qpd_v10()
|
A D | kfd_pm4_headers.h | 78 uint32_t sh_mem_config; member 126 uint32_t sh_mem_config; member
|
A D | kfd_packet_manager_v9.c | 52 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 D | kfd_pm4_headers_aldebaran.h | 56 uint32_t sh_mem_config; member
|
A D | kfd_packet_manager_vi.c | 62 packet->sh_mem_config = qpd->sh_mem_config; in pm_map_process_vi()
|
A D | kfd_pm4_headers_vi.h | 173 uint32_t sh_mem_config; member
|
A D | kfd_pm4_headers_ai.h | 162 uint32_t sh_mem_config; member
|
A D | kfd_priv.h | 639 uint32_t sh_mem_config; member
|
A D | kfd_device_queue_manager.c | 132 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 D | amdgpu_amdkfd_gfx_v9.h | 26 uint32_t sh_mem_config,
|
A D | amdgpu_amdkfd_gfx_v7.c | 78 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 D | amdgpu_amdkfd_gfx_v8.c | 72 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 D | amdgpu_amdkfd_gfx_v11.c | 78 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 D | amdgpu_amdkfd_gfx_v10.c | 79 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 D | amdgpu_amdkfd_gfx_v9.c | 86 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 D | amdgpu_amdkfd_gfx_v10_3.c | 80 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 D | gfx_v7_0.c | 1820 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 D | gfx_v8_0.c | 3659 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 D | gfx_v9_0.c | 2296 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 D | kgd_kfd_interface.h | 232 uint32_t sh_mem_config, uint32_t sh_mem_ape1_base,
|