Home
last modified time | relevance | path

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

/linux-6.15/drivers/gpu/drm/imagination/
H A Dpvr_mmu.c1515 op_ctx->curr_page.l1_table->next_free = op_ctx->unmap.l1_free_tables; in pvr_page_table_l2_remove()
1516 op_ctx->unmap.l1_free_tables = op_ctx->curr_page.l1_table; in pvr_page_table_l2_remove()
1578 op_ctx->curr_page.l0_table->next_free = op_ctx->unmap.l0_free_tables; in pvr_page_table_l1_remove()
1579 op_ctx->unmap.l0_free_tables = op_ctx->curr_page.l0_table; in pvr_page_table_l1_remove()
1790 op_ctx->curr_page.l1_table->entries[op_ctx->curr_page.l1_idx]; in pvr_page_table_l0_get_or_insert()
2018 pvr_mmu_op_context_sync_manual(op_ctx, op_ctx->sync_level_required); in pvr_mmu_op_context_sync()
2327 kfree(op_ctx); in pvr_mmu_op_context_destroy()
2352 if (!op_ctx) in pvr_mmu_op_context_create()
2405 return op_ctx; in pvr_mmu_op_context_create()
2552 memcpy(&op_ctx->curr_page, &ptr_copy, sizeof(op_ctx->curr_page)); in pvr_mmu_map_sgl()
[all …]
H 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);
H 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()
/linux-6.15/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c464 vm->op_ctx->rsvd_page_tables.ptr >= vm->op_ctx->rsvd_page_tables.count)) in alloc_pt()
1129 if (op_ctx->map.vm_bo) in panthor_vm_cleanup_op_ctx()
1227 memset(op_ctx, 0, sizeof(*op_ctx)); in panthor_vm_prepare_map_op_ctx()
1231 op_ctx->va.addr = va; in panthor_vm_prepare_map_op_ctx()
1334 memset(op_ctx, 0, sizeof(*op_ctx)); in panthor_vm_prepare_unmap_op_ctx()
1337 op_ctx->va.addr = va; in panthor_vm_prepare_unmap_op_ctx()
1382 memset(op_ctx, 0, sizeof(*op_ctx)); in panthor_vm_prepare_sync_only_op_ctx()
2060 struct panthor_vm_op_ctx *op_ctx = vm->op_ctx; in panthor_gpuva_sm_step_map() local
2089 struct panthor_vm_op_ctx *op_ctx = vm->op_ctx; in panthor_gpuva_sm_step_remap() local
2186 vm->op_ctx = op; in panthor_vm_exec_op()
[all …]