/Linux-v5.10/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_device_queue_manager_vi.c | 115 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()
|
D | kfd_device_queue_manager_cik.c | 108 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()
|
D | kfd_device_queue_manager_v10.c | 59 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()
|
D | kfd_device_queue_manager_v9.c | 60 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()
|
D | kfd_pm4_headers.h | 77 uint32_t sh_mem_config; member 125 uint32_t sh_mem_config; member
|
D | kfd_packet_manager_v9.c | 51 packet->sh_mem_config = qpd->sh_mem_config; in pm_map_process_v9()
|
D | kfd_packet_manager_vi.c | 61 packet->sh_mem_config = qpd->sh_mem_config; in pm_map_process_vi()
|
D | kfd_pm4_headers_vi.h | 172 uint32_t sh_mem_config; member
|
D | kfd_pm4_headers_ai.h | 161 uint32_t sh_mem_config; member
|
D | kfd_priv.h | 593 uint32_t sh_mem_config; member
|
D | kfd_device_queue_manager.c | 134 qpd->sh_mem_config, in program_sh_mem_settings() 1591 qpd->sh_mem_config, qpd->sh_mem_ape1_base, in set_cache_memory_policy()
|
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_amdkfd_gfx_v9.h | 26 uint32_t sh_mem_config,
|
D | amdgpu_amdkfd_gfx_v8.c | 82 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()
|
D | amdgpu_amdkfd_gfx_v7.c | 125 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()
|
D | amdgpu_amdkfd_gfx_v10.c | 91 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()
|
D | amdgpu_amdkfd_gfx_v9.c | 95 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()
|
D | amdgpu_amdkfd_gfx_v10_3.c | 90 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()
|
D | gfx_v7_0.c | 1856 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()
|
D | gfx_v8_0.c | 3693 uint32_t sh_mem_config; in gfx_v8_0_init_compute_vmid() local 3704 sh_mem_config = SH_MEM_ADDRESS_MODE_HSA64 << in gfx_v8_0_init_compute_vmid() 3715 WREG32(mmSH_MEM_CONFIG, sh_mem_config); in gfx_v8_0_init_compute_vmid()
|
D | gfx_v9_0.c | 2477 uint32_t sh_mem_config; in gfx_v9_0_init_compute_vmid() local 2488 sh_mem_config = SH_MEM_ADDRESS_MODE_64 | in gfx_v9_0_init_compute_vmid() 2496 WREG32_SOC15_RLC(GC, 0, mmSH_MEM_CONFIG, sh_mem_config); in gfx_v9_0_init_compute_vmid()
|
/Linux-v5.10/drivers/gpu/drm/amd/include/ |
D | kgd_kfd_interface.h | 231 uint32_t sh_mem_config, uint32_t sh_mem_ape1_base,
|