Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Dmes_v11_0.c570 mutex_lock(&adev->srbm_mutex); in mes_v11_0_enable()
585 mutex_unlock(&adev->srbm_mutex); in mes_v11_0_enable()
634 mutex_lock(&adev->srbm_mutex); in mes_v11_0_load_microcode()
679 mutex_unlock(&adev->srbm_mutex); in mes_v11_0_load_microcode()
819 mutex_lock(&adev->srbm_mutex); in mes_v11_0_queue_init_register()
872 mutex_unlock(&adev->srbm_mutex); in mes_v11_0_queue_init_register()
928 mutex_lock(&adev->srbm_mutex); in mes_v11_0_queue_init()
937 mutex_unlock(&adev->srbm_mutex); in mes_v11_0_queue_init()
1111 mutex_lock(&adev->srbm_mutex); in mes_v11_0_kiq_dequeue()
1137 mutex_unlock(&adev->srbm_mutex); in mes_v11_0_kiq_dequeue()
Dmes_v10_1.c471 mutex_lock(&adev->srbm_mutex); in mes_v10_1_enable()
482 mutex_unlock(&adev->srbm_mutex); in mes_v10_1_enable()
534 mutex_lock(&adev->srbm_mutex); in mes_v10_1_load_microcode()
600 mutex_unlock(&adev->srbm_mutex); in mes_v10_1_load_microcode()
744 mutex_lock(&adev->srbm_mutex);
797 mutex_unlock(&adev->srbm_mutex);
Dgfx_v11_0.c1643 mutex_lock(&adev->srbm_mutex); in gfx_v11_0_init_compute_vmid()
1656 mutex_unlock(&adev->srbm_mutex); in gfx_v11_0_init_compute_vmid()
1722 mutex_lock(&adev->srbm_mutex); in gfx_v11_0_constants_init()
1737 mutex_unlock(&adev->srbm_mutex); in gfx_v11_0_constants_init()
2207 mutex_lock(&adev->srbm_mutex); in gfx_v11_0_config_pfp_cache_rs64()
2244 mutex_unlock(&adev->srbm_mutex); in gfx_v11_0_config_pfp_cache_rs64()
2330 mutex_lock(&adev->srbm_mutex); in gfx_v11_0_config_me_cache_rs64()
2367 mutex_unlock(&adev->srbm_mutex); in gfx_v11_0_config_me_cache_rs64()
2416 mutex_lock(&adev->srbm_mutex); in gfx_v11_0_config_mec_cache_rs64()
2434 mutex_unlock(&adev->srbm_mutex); in gfx_v11_0_config_mec_cache_rs64()
[all …]
Damdgpu_amdkfd_gfx_v9.c53 mutex_lock(&adev->srbm_mutex); in kgd_gfx_v9_lock_srbm()
60 mutex_unlock(&adev->srbm_mutex); in kgd_gfx_v9_unlock_srbm()
931 mutex_lock(&adev->srbm_mutex); in lock_spi_csq_mutexes()
939 mutex_unlock(&adev->srbm_mutex); in unlock_spi_csq_mutexes()
Damdgpu_amdkfd_gfx_v7.c53 mutex_lock(&adev->srbm_mutex); in lock_srbm()
60 mutex_unlock(&adev->srbm_mutex); in unlock_srbm()
Dgfx_v9_4_3.c922 mutex_lock(&adev->srbm_mutex); in gfx_v9_4_3_xcc_init_compute_vmid()
935 mutex_unlock(&adev->srbm_mutex); in gfx_v9_4_3_xcc_init_compute_vmid()
973 mutex_lock(&adev->srbm_mutex); in gfx_v9_4_3_xcc_constants_init()
1005 mutex_unlock(&adev->srbm_mutex); in gfx_v9_4_3_xcc_constants_init()
1774 mutex_lock(&adev->srbm_mutex); in gfx_v9_4_3_xcc_kiq_init_queue()
1778 mutex_unlock(&adev->srbm_mutex); in gfx_v9_4_3_xcc_kiq_init_queue()
1783 mutex_lock(&adev->srbm_mutex); in gfx_v9_4_3_xcc_kiq_init_queue()
1790 mutex_unlock(&adev->srbm_mutex); in gfx_v9_4_3_xcc_kiq_init_queue()
1816 mutex_lock(&adev->srbm_mutex); in gfx_v9_4_3_xcc_kcq_init_queue()
1820 mutex_unlock(&adev->srbm_mutex); in gfx_v9_4_3_xcc_kcq_init_queue()
[all …]
Damdgpu_amdkfd_gfx_v8.c47 mutex_lock(&adev->srbm_mutex); in lock_srbm()
54 mutex_unlock(&adev->srbm_mutex); in unlock_srbm()
Damdgpu_amdkfd_gfx_v10_3.c47 mutex_lock(&adev->srbm_mutex); in lock_srbm()
54 mutex_unlock(&adev->srbm_mutex); in unlock_srbm()
Damdgpu_amdkfd_gfx_v11.c45 mutex_lock(&adev->srbm_mutex); in lock_srbm()
52 mutex_unlock(&adev->srbm_mutex); in unlock_srbm()
Damdgpu_amdkfd_gfx_v10.c47 mutex_lock(&adev->srbm_mutex); in lock_srbm()
54 mutex_unlock(&adev->srbm_mutex); in unlock_srbm()
Damdgpu_debugfs.c141 mutex_lock(&adev->srbm_mutex); in amdgpu_debugfs_process_reg_op()
176 mutex_unlock(&adev->srbm_mutex); in amdgpu_debugfs_process_reg_op()
271 mutex_lock(&adev->srbm_mutex); in amdgpu_debugfs_regs2_op()
305 mutex_unlock(&adev->srbm_mutex); in amdgpu_debugfs_regs2_op()
Dgfx_v8_0.c3679 mutex_lock(&adev->srbm_mutex); in gfx_v8_0_init_compute_vmid()
3689 mutex_unlock(&adev->srbm_mutex); in gfx_v8_0_init_compute_vmid()
3757 mutex_lock(&adev->srbm_mutex); in gfx_v8_0_constants_init()
3782 mutex_unlock(&adev->srbm_mutex); in gfx_v8_0_constants_init()
4610 mutex_lock(&adev->srbm_mutex); in gfx_v8_0_kiq_init_queue()
4614 mutex_unlock(&adev->srbm_mutex); in gfx_v8_0_kiq_init_queue()
4621 mutex_lock(&adev->srbm_mutex); in gfx_v8_0_kiq_init_queue()
4626 mutex_unlock(&adev->srbm_mutex); in gfx_v8_0_kiq_init_queue()
4645 mutex_lock(&adev->srbm_mutex); in gfx_v8_0_kcq_init_queue()
4649 mutex_unlock(&adev->srbm_mutex); in gfx_v8_0_kcq_init_queue()
[all …]
Dgfx_v7_0.c1832 mutex_lock(&adev->srbm_mutex); in gfx_v7_0_init_compute_vmid()
1842 mutex_unlock(&adev->srbm_mutex); in gfx_v7_0_init_compute_vmid()
1933 mutex_lock(&adev->srbm_mutex); in gfx_v7_0_constants_init()
1947 mutex_unlock(&adev->srbm_mutex); in gfx_v7_0_constants_init()
2806 mutex_lock(&adev->srbm_mutex); in gfx_v7_0_compute_pipe_init()
2825 mutex_unlock(&adev->srbm_mutex); in gfx_v7_0_compute_pipe_init()
3012 mutex_lock(&adev->srbm_mutex); in gfx_v7_0_compute_queue_init()
3020 mutex_unlock(&adev->srbm_mutex); in gfx_v7_0_compute_queue_init()
Dsdma_v2_4.c412 mutex_lock(&adev->srbm_mutex); in sdma_v2_4_gfx_resume()
420 mutex_unlock(&adev->srbm_mutex); in sdma_v2_4_gfx_resume()
Dgfx_v10_0.c4842 mutex_lock(&adev->srbm_mutex); in gfx_v10_0_init_compute_vmid()
4850 mutex_unlock(&adev->srbm_mutex); in gfx_v10_0_init_compute_vmid()
4986 mutex_lock(&adev->srbm_mutex); in gfx_v10_0_constants_init()
5001 mutex_unlock(&adev->srbm_mutex); in gfx_v10_0_constants_init()
6096 mutex_lock(&adev->srbm_mutex); in gfx_v10_0_cp_gfx_resume()
6136 mutex_unlock(&adev->srbm_mutex); in gfx_v10_0_cp_gfx_resume()
6140 mutex_lock(&adev->srbm_mutex); in gfx_v10_0_cp_gfx_resume()
6172 mutex_unlock(&adev->srbm_mutex); in gfx_v10_0_cp_gfx_resume()
6175 mutex_lock(&adev->srbm_mutex); in gfx_v10_0_cp_gfx_resume()
6177 mutex_unlock(&adev->srbm_mutex); in gfx_v10_0_cp_gfx_resume()
[all …]
Dgfx_v9_0.c2324 mutex_lock(&adev->srbm_mutex); in gfx_v9_0_init_compute_vmid()
2332 mutex_unlock(&adev->srbm_mutex); in gfx_v9_0_init_compute_vmid()
2394 mutex_lock(&adev->srbm_mutex); in gfx_v9_0_constants_init()
2420 mutex_unlock(&adev->srbm_mutex); in gfx_v9_0_constants_init()
3552 mutex_lock(&adev->srbm_mutex); in gfx_v9_0_kiq_init_queue()
3556 mutex_unlock(&adev->srbm_mutex); in gfx_v9_0_kiq_init_queue()
3563 mutex_lock(&adev->srbm_mutex); in gfx_v9_0_kiq_init_queue()
3568 mutex_unlock(&adev->srbm_mutex); in gfx_v9_0_kiq_init_queue()
3594 mutex_lock(&adev->srbm_mutex); in gfx_v9_0_kcq_init_queue()
3598 mutex_unlock(&adev->srbm_mutex); in gfx_v9_0_kcq_init_queue()
[all …]
Dcik_sdma.c436 mutex_lock(&adev->srbm_mutex); in cik_sdma_gfx_resume()
445 mutex_unlock(&adev->srbm_mutex); in cik_sdma_gfx_resume()
Dsdma_v3_0.c650 mutex_lock(&adev->srbm_mutex); in sdma_v3_0_gfx_resume()
658 mutex_unlock(&adev->srbm_mutex); in sdma_v3_0_gfx_resume()
Damdgpu_mes.c561 mutex_lock(&adev->srbm_mutex); in amdgpu_mes_queue_init_mqd()
570 mutex_unlock(&adev->srbm_mutex); in amdgpu_mes_queue_init_mqd()
Dgfx_v9_4_2.c760 mutex_lock(&adev->srbm_mutex); in gfx_v9_4_2_debug_trap_config_init()
773 mutex_unlock(&adev->srbm_mutex); in gfx_v9_4_2_debug_trap_config_init()
Damdgpu.h794 struct mutex srbm_mutex; member
Damdgpu_device.c3556 mutex_init(&adev->srbm_mutex); in amdgpu_device_init()
/linux-6.6.21/drivers/gpu/drm/radeon/
Dcik.c4147 mutex_lock(&rdev->srbm_mutex); in cik_compute_get_rptr()
4151 mutex_unlock(&rdev->srbm_mutex); in cik_compute_get_rptr()
4166 mutex_lock(&rdev->srbm_mutex); in cik_compute_get_wptr()
4170 mutex_unlock(&rdev->srbm_mutex); in cik_compute_get_wptr()
4226 mutex_lock(&rdev->srbm_mutex); in cik_cp_compute_enable()
4229 mutex_unlock(&rdev->srbm_mutex); in cik_cp_compute_enable()
4530 mutex_lock(&rdev->srbm_mutex); in cik_cp_compute_resume()
4554 mutex_unlock(&rdev->srbm_mutex); in cik_cp_compute_resume()
4604 mutex_lock(&rdev->srbm_mutex); in cik_cp_compute_resume()
4731 mutex_unlock(&rdev->srbm_mutex); in cik_cp_compute_resume()
[all …]
Dradeon_device.c1315 mutex_init(&rdev->srbm_mutex); in radeon_device_init()
Dradeon.h2432 struct mutex srbm_mutex; member