Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_device_queue_manager_v9.c59 if (qpd->sh_mem_config == 0) { in update_qpd_v9()
60 qpd->sh_mem_config = SH_MEM_ALIGNMENT_MODE_UNALIGNED << in update_qpd_v9()
64 qpd->sh_mem_config |= 1 << SH_MEM_CONFIG__RETRY_DISABLE__SHIFT; in update_qpd_v9()
67 qpd->sh_mem_config |= in update_qpd_v9()
76 qpd->sh_mem_config |= 1 << SH_MEM_CONFIG__RETRY_DISABLE__SHIFT; in update_qpd_v9()
78 qpd->sh_mem_config &= ~(1 << SH_MEM_CONFIG__RETRY_DISABLE__SHIFT); in update_qpd_v9()
84 qpd->sh_mem_config); in update_qpd_v9()
Dkfd_device_queue_manager_cik.c96 qpd->sh_mem_config = (qpd->sh_mem_config & PTR32) in set_cache_memory_policy_cik()
113 if (qpd->sh_mem_config == 0) { in update_qpd_cik()
114 qpd->sh_mem_config = in update_qpd_cik()
Dkfd_device_queue_manager_vi.c97 qpd->sh_mem_config = in set_cache_memory_policy_vi()
115 if (qpd->sh_mem_config == 0) { in update_qpd_vi()
116 qpd->sh_mem_config = in update_qpd_vi()
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()
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()
Dkfd_pm4_headers.h78 uint32_t sh_mem_config; member
126 uint32_t sh_mem_config; member
Dkfd_packet_manager_v9.c61 packet->sh_mem_config = qpd->sh_mem_config; in pm_map_process_v9()
120 packet->sh_mem_config = qpd->sh_mem_config; in pm_map_process_aldebaran()
Dkfd_pm4_headers_aldebaran.h56 uint32_t sh_mem_config; member
Dkfd_packet_manager_vi.c62 packet->sh_mem_config = qpd->sh_mem_config; in pm_map_process_vi()
Dkfd_pm4_headers_vi.h173 uint32_t sh_mem_config; member
Dkfd_pm4_headers_ai.h165 uint32_t sh_mem_config; member
Dkfd_priv.h669 uint32_t sh_mem_config; member
Dkfd_device_queue_manager.c148 dqm->dev->adev, qpd->vmid, qpd->sh_mem_config, in program_sh_mem_settings()
2211 qpd->sh_mem_config, qpd->sh_mem_ape1_base, in set_cache_memory_policy()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_gfx_v9.h24 uint32_t sh_mem_config,
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()
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()
Damdgpu_amdkfd_gfx_v10_3.c81 uint32_t sh_mem_config, in program_sh_mem_settings_v10_3() argument
88 WREG32_SOC15(GC, 0, mmSH_MEM_CONFIG, sh_mem_config); in program_sh_mem_settings_v10_3()
Damdgpu_amdkfd_gfx_v11.c79 uint32_t sh_mem_config, in program_sh_mem_settings_v11() argument
86 WREG32(SOC15_REG_OFFSET(GC, 0, regSH_MEM_CONFIG), sh_mem_config); in program_sh_mem_settings_v11()
Damdgpu_amdkfd_gfx_v10.c81 uint32_t sh_mem_config, in kgd_program_sh_mem_settings() argument
88 WREG32_SOC15(GC, 0, mmSH_MEM_CONFIG, sh_mem_config); in kgd_program_sh_mem_settings()
Damdgpu_amdkfd_gfx_v9.c87 uint32_t sh_mem_config, in kgd_gfx_v9_program_sh_mem_settings() argument
94 WREG32_RLC(SOC15_REG_OFFSET(GC, GET_INST(GC, inst), mmSH_MEM_CONFIG), sh_mem_config); in kgd_gfx_v9_program_sh_mem_settings()
Dgfx_v7_0.c1819 uint32_t sh_mem_config; in gfx_v7_0_init_compute_vmid() local
1829 sh_mem_config = SH_MEM_ALIGNMENT_MODE_UNALIGNED << in gfx_v7_0_init_compute_vmid()
1831 sh_mem_config |= MTYPE_NONCACHED << SH_MEM_CONFIG__DEFAULT_MTYPE__SHIFT; in gfx_v7_0_init_compute_vmid()
1836 WREG32(mmSH_MEM_CONFIG, sh_mem_config); in gfx_v7_0_init_compute_vmid()
Dgfx_v9_4_3.c906 uint32_t sh_mem_config; in gfx_v9_4_3_xcc_init_compute_vmid() local
918 sh_mem_config = SH_MEM_ADDRESS_MODE_64 | in gfx_v9_4_3_xcc_init_compute_vmid()
926 WREG32_SOC15_RLC(GC, GET_INST(GC, xcc_id), regSH_MEM_CONFIG, sh_mem_config); in gfx_v9_4_3_xcc_init_compute_vmid()
Dgfx_v8_0.c3661 uint32_t sh_mem_config; in gfx_v8_0_init_compute_vmid() local
3672 sh_mem_config = SH_MEM_ADDRESS_MODE_HSA64 << in gfx_v8_0_init_compute_vmid()
3683 WREG32(mmSH_MEM_CONFIG, sh_mem_config); in gfx_v8_0_init_compute_vmid()
Dgfx_v9_0.c2309 uint32_t sh_mem_config; in gfx_v9_0_init_compute_vmid() local
2320 sh_mem_config = SH_MEM_ADDRESS_MODE_64 | in gfx_v9_0_init_compute_vmid()
2328 WREG32_SOC15_RLC(GC, 0, mmSH_MEM_CONFIG, sh_mem_config); in gfx_v9_0_init_compute_vmid()
/linux-6.6.21/drivers/gpu/drm/amd/include/
Dkgd_kfd_interface.h232 uint32_t sh_mem_config, uint32_t sh_mem_ape1_base,