Home
last modified time | relevance | path

Searched refs:trim_level (Results 1 - 10 of 10) sorted by relevance

/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_ioctl.h262 * @trim_level: Level of JIT allocation trimming to perform on free (0 - 100%)
275 __u8 trim_level; member
288 * @trim_level: Level of JIT allocation trimming to perform on free (0 - 100%)
299 __u8 trim_level; member
H A Dmali_kbase_mem.c813 int kbase_region_tracker_init_jit(struct kbase_context *kctx, u64 jit_va_pages, int max_allocations, int trim_level, in kbase_region_tracker_init_jit() argument
818 if (trim_level < 0 || trim_level > BASE_JIT_MAX_TRIM_LEVEL) { in kbase_region_tracker_init_jit()
850 kctx->trim_level = trim_level; in kbase_region_tracker_init_jit()
3135 kctx->trim_level = 0; in kbase_jit_init()
3839 /* Free trim_level % of region, but don't go below initial in kbase_jit_free()
3842 u64 new_size = MAX(reg->initial_commit, div_u64(old_pages * (100 - kctx->trim_level), 100)); in kbase_jit_free()
H A Dmali_kbase_defs.h1516 * @trim_level: Level of JIT allocation trimming to perform on free (0-100%)
1659 u8 trim_level; member
H A Dmali_kbase_mem.h983 * @trim_level: Trim level for the JIT region.
992 int kbase_region_tracker_init_jit(struct kbase_context *kctx, u64 jit_va_pages, int max_allocations, int trim_level,
H A Dmali_kbase_core_linux.c1128 jit_init->trim_level, jit_init->group_id, jit_init->va_pages); in kbase_api_mem_jit_init_11_5()
1149 jit_init->trim_level, jit_init->group_id, jit_init->phys_pages); in kbase_api_mem_jit_init()
/device/soc/rockchip/rk3588/kernel/include/uapi/gpu/arm/bifrost/
H A Dmali_kbase_ioctl.h246 * @trim_level: Level of JIT allocation trimming to perform on free (0 - 100%)
259 __u8 trim_level; member
273 * @trim_level: Level of JIT allocation trimming to perform on free (0 - 100%)
284 __u8 trim_level; member
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_mem.c1017 int max_allocations, int trim_level, int group_id, in kbase_region_tracker_init_jit()
1022 if (trim_level < 0 || trim_level > BASE_JIT_MAX_TRIM_LEVEL) in kbase_region_tracker_init_jit()
1066 kctx->trim_level = trim_level; in kbase_region_tracker_init_jit()
3561 kctx->trim_level = 0; in kbase_jit_init()
4302 /* Free trim_level % of region, but don't go below initial in kbase_jit_free()
4306 div_u64(old_pages * (100 - kctx->trim_level), 100)); in kbase_jit_free()
1016 kbase_region_tracker_init_jit(struct kbase_context *kctx, u64 jit_va_pages, int max_allocations, int trim_level, int group_id, u64 phys_pages_limit) kbase_region_tracker_init_jit() argument
H A Dmali_kbase_defs.h1688 * @trim_level: Level of JIT allocation trimming to perform on free (0-100%)
1836 u8 trim_level; member
H A Dmali_kbase_mem.h1078 * @trim_level: Trim level for the JIT region.
1088 int max_allocations, int trim_level, int group_id,
H A Dmali_kbase_core_linux.c1012 jit_init->max_allocations, jit_init->trim_level, in kbase_api_mem_jit_init_11_5()
1032 jit_init->max_allocations, jit_init->trim_level, in kbase_api_mem_jit_init()

Completed in 38 milliseconds