Home
last modified time | relevance | path

Searched refs:op_ctx (Results 1 – 4 of 4) sorted by relevance

/drivers/gpu/drm/imagination/
A Dpvr_mmu.c1521 op_ctx->curr_page.l1_table->next_free = op_ctx->unmap.l1_free_tables; in pvr_page_table_l2_remove()
1522 op_ctx->unmap.l1_free_tables = op_ctx->curr_page.l1_table; in pvr_page_table_l2_remove()
1584 op_ctx->curr_page.l0_table->next_free = op_ctx->unmap.l0_free_tables; in pvr_page_table_l1_remove()
1585 op_ctx->unmap.l0_free_tables = op_ctx->curr_page.l0_table; in pvr_page_table_l1_remove()
1796 op_ctx->curr_page.l1_table->entries[op_ctx->curr_page.l1_idx]; in pvr_page_table_l0_get_or_insert()
2024 pvr_mmu_op_context_sync_manual(op_ctx, op_ctx->sync_level_required); in pvr_mmu_op_context_sync()
2333 kfree(op_ctx); in pvr_mmu_op_context_destroy()
2358 if (!op_ctx) in pvr_mmu_op_context_create()
2411 return op_ctx; in pvr_mmu_op_context_create()
2558 memcpy(&op_ctx->curr_page, &ptr_copy, sizeof(op_ctx->curr_page)); in pvr_mmu_map_sgl()
[all …]
A Dpvr_mmu.h99 void pvr_mmu_op_context_destroy(struct pvr_mmu_op_context *op_ctx);
104 int pvr_mmu_map(struct pvr_mmu_op_context *op_ctx, u64 size, u64 flags,
106 int pvr_mmu_unmap(struct pvr_mmu_op_context *op_ctx, u64 device_addr, u64 size);
A Dpvr_vm.c348 pvr_vm_gpuva_map(struct drm_gpuva_op *op, void *op_ctx) in pvr_vm_gpuva_map() argument
351 struct pvr_vm_bind_op *ctx = op_ctx; in pvr_vm_gpuva_map()
382 pvr_vm_gpuva_unmap(struct drm_gpuva_op *op, void *op_ctx) in pvr_vm_gpuva_unmap() argument
384 struct pvr_vm_bind_op *ctx = op_ctx; in pvr_vm_gpuva_unmap()
413 pvr_vm_gpuva_remap(struct drm_gpuva_op *op, void *op_ctx) in pvr_vm_gpuva_remap() argument
415 struct pvr_vm_bind_op *ctx = op_ctx; in pvr_vm_gpuva_remap()
/drivers/gpu/drm/panthor/
A Dpanthor_mmu.c464 vm->op_ctx->rsvd_page_tables.ptr >= vm->op_ctx->rsvd_page_tables.count)) in alloc_pt()
467 page = vm->op_ctx->rsvd_page_tables.pages[vm->op_ctx->rsvd_page_tables.ptr++]; in alloc_pt()
1206 memset(op_ctx, 0, sizeof(*op_ctx)); in panthor_vm_prepare_map_op_ctx()
1210 op_ctx->va.addr = va; in panthor_vm_prepare_map_op_ctx()
1313 memset(op_ctx, 0, sizeof(*op_ctx)); in panthor_vm_prepare_unmap_op_ctx()
1316 op_ctx->va.addr = va; in panthor_vm_prepare_unmap_op_ctx()
1361 memset(op_ctx, 0, sizeof(*op_ctx)); in panthor_vm_prepare_sync_only_op_ctx()
2044 struct panthor_vm_op_ctx *op_ctx = vm->op_ctx; in panthor_gpuva_sm_step_map() local
2073 struct panthor_vm_op_ctx *op_ctx = vm->op_ctx; in panthor_gpuva_sm_step_remap() local
2170 vm->op_ctx = op; in panthor_vm_exec_op()
[all …]

Completed in 24 milliseconds