Home
last modified time | relevance | path

Searched refs:jit_evict_lock (Results 1 - 14 of 14) sorted by relevance

/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_mem.c1171 mutex_lock(&kctx->jit_evict_lock); in kbase_free_alloced_region()
1181 mutex_unlock(&kctx->jit_evict_lock); in kbase_free_alloced_region()
1206 mutex_unlock(&kctx->jit_evict_lock); in kbase_free_alloced_region()
2459 mutex_lock(&alloc->imported.native.kctx->jit_evict_lock); in kbase_mem_kref_free()
2461 mutex_unlock(&alloc->imported.native.kctx->jit_evict_lock); in kbase_mem_kref_free()
2899 mutex_lock(&kctx->jit_evict_lock); in kbase_jit_debugfs_count_get()
2914 mutex_unlock(&kctx->jit_evict_lock); in kbase_jit_debugfs_count_get()
2925 mutex_lock(&kctx->jit_evict_lock); in kbase_jit_debugfs_vm_get()
2940 mutex_unlock(&kctx->jit_evict_lock); in kbase_jit_debugfs_vm_get()
2951 mutex_lock(&kctx->jit_evict_lock); in kbase_jit_debugfs_phys_get()
[all...]
H A Dmali_kbase_mem.h641 mutex_lock(&kctx->jit_evict_lock); in kbase_reg_prepare_native()
644 mutex_unlock(&kctx->jit_evict_lock); in kbase_reg_prepare_native()
1572 * to take jit_evict_lock also on @kctx before calling this function.
1580 lockdep_assert_held(&kctx->jit_evict_lock); in kbase_jit_request_phys_increase_locked()
1619 mutex_lock(&kctx->jit_evict_lock); in kbase_jit_request_phys_increase()
1621 mutex_unlock(&kctx->jit_evict_lock); in kbase_jit_request_phys_increase()
H A Dmali_kbase_mem_linux.c512 mutex_lock(&kctx->jit_evict_lock); in kbase_mem_alloc()
515 mutex_unlock(&kctx->jit_evict_lock); in kbase_mem_alloc()
692 mutex_lock(&kctx->jit_evict_lock); in kbase_mem_evictable_reclaim_count_objects()
697 mutex_unlock(&kctx->jit_evict_lock); in kbase_mem_evictable_reclaim_count_objects()
728 mutex_lock(&kctx->jit_evict_lock); in kbase_mem_evictable_reclaim_scan_objects()
768 mutex_unlock(&kctx->jit_evict_lock); in kbase_mem_evictable_reclaim_scan_objects()
788 mutex_init(&kctx->jit_evict_lock); in kbase_mem_evictable_init()
861 mutex_lock(&kctx->jit_evict_lock); in kbase_mem_evictable_make()
870 mutex_unlock(&kctx->jit_evict_lock); in kbase_mem_evictable_make()
884 mutex_lock(&kctx->jit_evict_lock); in kbase_mem_evictable_unmake()
[all...]
H A Dmali_kbase_defs.h1504 * @jit_evict_lock: Lock used for operations done on just-in-time memory
1654 struct mutex jit_evict_lock; member
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_mem.c1445 mutex_lock(&kctx->jit_evict_lock); in kbase_free_alloced_region()
1455 mutex_unlock(&kctx->jit_evict_lock); in kbase_free_alloced_region()
1480 mutex_unlock(&kctx->jit_evict_lock); in kbase_free_alloced_region()
2869 &alloc->imported.native.kctx->jit_evict_lock); in kbase_mem_kref_free()
2872 &alloc->imported.native.kctx->jit_evict_lock); in kbase_mem_kref_free()
3320 mutex_lock(&kctx->jit_evict_lock); in kbase_jit_debugfs_count_get()
3332 mutex_unlock(&kctx->jit_evict_lock); in kbase_jit_debugfs_count_get()
3344 mutex_lock(&kctx->jit_evict_lock); in kbase_jit_debugfs_vm_get()
3356 mutex_unlock(&kctx->jit_evict_lock); in kbase_jit_debugfs_vm_get()
3368 mutex_lock(&kctx->jit_evict_lock); in kbase_jit_debugfs_phys_get()
[all...]
H A Dmali_kbase_mem.h725 mutex_lock(&kctx->jit_evict_lock); in kbase_reg_prepare_native()
728 mutex_unlock(&kctx->jit_evict_lock); in kbase_reg_prepare_native()
1701 * to take jit_evict_lock also on @kctx before calling this function.
1711 lockdep_assert_held(&kctx->jit_evict_lock); in kbase_jit_request_phys_increase_locked()
1752 mutex_lock(&kctx->jit_evict_lock); in kbase_jit_request_phys_increase()
1754 mutex_unlock(&kctx->jit_evict_lock); in kbase_jit_request_phys_increase()
H A Dmali_kbase_mem_linux.c487 mutex_lock(&kctx->jit_evict_lock); in kbase_mem_alloc()
490 mutex_unlock(&kctx->jit_evict_lock); in kbase_mem_alloc()
684 mutex_lock(&kctx->jit_evict_lock); in kbase_mem_evictable_reclaim_scan_objects()
724 mutex_unlock(&kctx->jit_evict_lock); in kbase_mem_evictable_reclaim_scan_objects()
732 mutex_init(&kctx->jit_evict_lock); in kbase_mem_evictable_init()
810 mutex_lock(&kctx->jit_evict_lock); in kbase_mem_evictable_make()
820 mutex_unlock(&kctx->jit_evict_lock); in kbase_mem_evictable_make()
839 mutex_lock(&kctx->jit_evict_lock); in kbase_mem_evictable_unmake()
846 mutex_unlock(&kctx->jit_evict_lock); in kbase_mem_evictable_unmake()
H A Dmali_kbase_defs.h1676 * @jit_evict_lock: Lock used for operations done on just-in-time memory
1831 struct mutex jit_evict_lock; member
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
H A Dmali_kbase_mem.c1752 mutex_lock(&kctx->jit_evict_lock); in kbase_jit_debugfs_count_get()
1767 mutex_unlock(&kctx->jit_evict_lock); in kbase_jit_debugfs_count_get()
1778 mutex_lock(&kctx->jit_evict_lock); in kbase_jit_debugfs_vm_get()
1793 mutex_unlock(&kctx->jit_evict_lock); in kbase_jit_debugfs_vm_get()
1804 mutex_lock(&kctx->jit_evict_lock); in kbase_jit_debugfs_phys_get()
1819 mutex_unlock(&kctx->jit_evict_lock); in kbase_jit_debugfs_phys_get()
1858 mutex_lock(&kctx->jit_evict_lock); in kbase_jit_destroy_worker()
1860 mutex_unlock(&kctx->jit_evict_lock); in kbase_jit_destroy_worker()
1867 mutex_unlock(&kctx->jit_evict_lock); in kbase_jit_destroy_worker()
1897 mutex_lock(&kctx->jit_evict_lock); in kbase_jit_allocate()
[all...]
H A Dmali_kbase_mem_linux.c345 mutex_lock(&kctx->jit_evict_lock); in kbase_mem_evictable_reclaim_count_objects()
349 mutex_unlock(&kctx->jit_evict_lock); in kbase_mem_evictable_reclaim_count_objects()
380 mutex_lock(&kctx->jit_evict_lock); in kbase_mem_evictable_reclaim_scan_objects()
420 mutex_unlock(&kctx->jit_evict_lock); in kbase_mem_evictable_reclaim_scan_objects()
439 mutex_init(&kctx->jit_evict_lock); in kbase_mem_evictable_init()
514 mutex_lock(&kctx->jit_evict_lock); in kbase_mem_evictable_make()
516 mutex_unlock(&kctx->jit_evict_lock); in kbase_mem_evictable_make()
H A Dmali_kbase_defs.h1471 struct mutex jit_evict_lock; member
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_mem.c1786 mutex_lock(&kctx->jit_evict_lock); in kbase_jit_debugfs_count_get()
1798 mutex_unlock(&kctx->jit_evict_lock); in kbase_jit_debugfs_count_get()
1810 mutex_lock(&kctx->jit_evict_lock); in kbase_jit_debugfs_vm_get()
1822 mutex_unlock(&kctx->jit_evict_lock); in kbase_jit_debugfs_vm_get()
1834 mutex_lock(&kctx->jit_evict_lock); in kbase_jit_debugfs_phys_get()
1846 mutex_unlock(&kctx->jit_evict_lock); in kbase_jit_debugfs_phys_get()
1889 mutex_lock(&kctx->jit_evict_lock); in kbase_jit_destroy_worker()
1891 mutex_unlock(&kctx->jit_evict_lock); in kbase_jit_destroy_worker()
1899 mutex_unlock(&kctx->jit_evict_lock); in kbase_jit_destroy_worker()
1930 mutex_lock(&kctx->jit_evict_lock); in kbase_jit_allocate()
[all...]
H A Dmali_kbase_mem_linux.c346 mutex_lock(&kctx->jit_evict_lock); in kbase_mem_evictable_reclaim_count_objects()
351 mutex_unlock(&kctx->jit_evict_lock); in kbase_mem_evictable_reclaim_count_objects()
384 mutex_lock(&kctx->jit_evict_lock); in kbase_mem_evictable_reclaim_scan_objects()
423 mutex_unlock(&kctx->jit_evict_lock); in kbase_mem_evictable_reclaim_scan_objects()
442 mutex_init(&kctx->jit_evict_lock); in kbase_mem_evictable_init()
525 mutex_lock(&kctx->jit_evict_lock); in kbase_mem_evictable_make()
527 mutex_unlock(&kctx->jit_evict_lock); in kbase_mem_evictable_make()
H A Dmali_kbase_defs.h1491 struct mutex jit_evict_lock; member

Completed in 42 milliseconds