Home
last modified time | relevance | path

Searched refs:native (Results 1 - 7 of 7) sorted by relevance

/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_mem.h85 struct kbase_mem_phy_alloc *alloc; /* NULL for special, non-NULL for native */
161 } native; member
591 alloc->imported.native.nr_struct_pages = (alloc_size + (PAGE_SIZE - 1)) >> PAGE_SHIFT; in kbase_alloc_create()
592 kbase_process_page_usage_inc(kctx, alloc->imported.native.nr_struct_pages); in kbase_alloc_create()
629 reg->cpu_alloc->imported.native.kctx = kctx; in kbase_reg_prepare_native()
636 reg->gpu_alloc->imported.native.kctx = kctx; in kbase_reg_prepare_native()
1314 * @pool must be alloc->imported.native.kctx->lp_mem_pool. Otherwise it must be
1315 * alloc->imported.native.kctx->mem_pool.
H A Dmali_kbase_mem.c1891 if (WARN_ON(alloc->type != KBASE_MEM_TYPE_NATIVE) || WARN_ON(alloc->imported.native.kctx == NULL) || in kbase_alloc_phy_pages_helper()
1902 kctx = alloc->imported.native.kctx; in kbase_alloc_phy_pages_helper()
2064 KBASE_DEBUG_ASSERT(alloc->imported.native.kctx); in kbase_alloc_phy_pages_helper_locked()
2078 kctx = alloc->imported.native.kctx; in kbase_alloc_phy_pages_helper_locked()
2254 struct kbase_context *kctx = alloc->imported.native.kctx; in kbase_free_phy_pages_helper()
2262 if (WARN_ON(alloc->type != KBASE_MEM_TYPE_NATIVE) || WARN_ON(alloc->imported.native.kctx == NULL) || in kbase_free_phy_pages_helper()
2355 struct kbase_context *kctx = alloc->imported.native.kctx; in kbase_free_phy_pages_helper_locked()
2363 KBASE_DEBUG_ASSERT(alloc->imported.native.kctx); in kbase_free_phy_pages_helper_locked()
2450 if (!WARN_ON(!alloc->imported.native.kctx)) { in kbase_mem_kref_free()
2452 kbase_phy_alloc_mapping_term(alloc->imported.native in kbase_mem_kref_free()
[all...]
H A Dmali_kbase_mem_linux.c296 WARN_ON(kctx != kern_mapping->cpu_alloc->imported.native.kctx); in kbase_phy_alloc_mapping_put()
818 struct kbase_context *kctx = alloc->imported.native.kctx; in kbase_mem_evictable_mark_reclaim()
837 struct kbase_context *kctx = alloc->imported.native.kctx; in kbase_mem_evictable_unmark_reclaim()
855 struct kbase_context *kctx = gpu_alloc->imported.native.kctx; in kbase_mem_evictable_make()
879 struct kbase_context *kctx = gpu_alloc->imported.native.kctx; in kbase_mem_evictable_unmake()
983 /* Only native allocations can be marked not needed */ in kbase_mem_flags_change()
1901 goto bad_handle; /* Not a native alloc */
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_mem.h87 struct kbase_mem_phy_alloc *alloc; /* NULL for special, non-NULL for native */
168 } native; member
670 alloc->imported.native.nr_struct_pages = in kbase_alloc_create()
673 alloc->imported.native.nr_struct_pages); in kbase_alloc_create()
711 reg->cpu_alloc->imported.native.kctx = kctx; in kbase_reg_prepare_native()
720 reg->gpu_alloc->imported.native.kctx = kctx; in kbase_reg_prepare_native()
1435 * @pool must be alloc->imported.native.kctx->lp_mem_pool. Otherwise it must be
1436 * alloc->imported.native.kctx->mem_pool.
H A Dmali_kbase_mem.c2213 WARN_ON(alloc->imported.native.kctx == NULL) || in kbase_alloc_phy_pages_helper()
2223 kctx = alloc->imported.native.kctx; in kbase_alloc_phy_pages_helper()
2408 KBASE_DEBUG_ASSERT(alloc->imported.native.kctx); in kbase_alloc_phy_pages_helper_locked()
2421 kctx = alloc->imported.native.kctx; in kbase_alloc_phy_pages_helper_locked()
2624 struct kbase_context *kctx = alloc->imported.native.kctx; in kbase_free_phy_pages_helper()
2633 WARN_ON(alloc->imported.native.kctx == NULL) || in kbase_free_phy_pages_helper()
2746 struct kbase_context *kctx = alloc->imported.native.kctx; in kbase_free_phy_pages_helper_locked()
2754 KBASE_DEBUG_ASSERT(alloc->imported.native.kctx); in kbase_free_phy_pages_helper_locked()
2858 if (!WARN_ON(!alloc->imported.native.kctx)) { in kbase_mem_kref_free()
2861 alloc->imported.native in kbase_mem_kref_free()
[all...]
H A Dmali_kbase_mem_linux.c283 WARN_ON(kctx != kern_mapping->cpu_alloc->imported.native.kctx); in kbase_phy_alloc_mapping_put()
758 struct kbase_context *kctx = alloc->imported.native.kctx; in kbase_mem_evictable_mark_reclaim()
781 struct kbase_context *kctx = alloc->imported.native.kctx; in kbase_mem_evictable_unmark_reclaim()
803 struct kbase_context *kctx = gpu_alloc->imported.native.kctx; in kbase_mem_evictable_make()
829 struct kbase_context *kctx = gpu_alloc->imported.native.kctx; in kbase_mem_evictable_unmake()
940 /* Only native allocations can be marked not needed */ in kbase_mem_flags_change()
1851 goto bad_handle; /* Not a native alloc */
/device/soc/hisilicon/common/hal/middleware/ffmpeg_adapt/
H A Dconfigure_llvm287 native implementation exists [no]
299 native MPEG-4/Xvid encoder exists [no]
4547 native) echo -xtarget=native ;;
4864 $cc $1=native -v -c -o $TMPO $TMPC >$TMPE 2>&1 || return
4875 $cc $1=native -v -c -o $TMPO $TMPC >$TMPE 2>&1 || return

Completed in 32 milliseconds