Home
last modified time | relevance | path

Searched refs:heap_id (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/accel/amdxdna/
H A Damdxdna_gem.c39 u32 heap_id; in amdxdna_init_dev_bo() local
46 for (heap_id = 0; heap_id < client->dev_heap_nid; heap_id++) { in amdxdna_init_dev_bo()
47 heap = xa_load(&client->dev_heap_xa, heap_id); in amdxdna_init_dev_bo()
49 XDNA_ERR(xdna, "Failed to load heap %d", heap_id); in amdxdna_init_dev_bo()
57 heap_id--; in amdxdna_init_dev_bo()
58 heap = xa_load(&client->dev_heap_xa, heap_id); in amdxdna_init_dev_bo()
61 dev_bo->heap_start_id = heap_id; in amdxdna_init_dev_bo()
64 for (; heap_id < client->dev_heap_nid; heap_id++) { in amdxdna_init_dev_bo()
65 heap = xa_load(&client->dev_heap_xa, heap_id); in amdxdna_init_dev_bo()
67 XDNA_ERR(xdna, "Failed to load heap %d", heap_id); in amdxdna_init_dev_bo()
[all …]
H A Damdxdna_ctx.c68 unsigned long heap_id; in amdxdna_hwctx_release_expanded_heap() local
72 xa_for_each_range(&client->dev_heap_xa, heap_id, heap, 1, in amdxdna_hwctx_release_expanded_heap()
459 unsigned long heap_id, nid; in amdxdna_hwctx_expand_heap() local
466 xa_for_each_range(&client->dev_heap_xa, heap_id, heap, in amdxdna_hwctx_expand_heap()
482 hwctx->last_attached_heap = heap_id; in amdxdna_hwctx_expand_heap()
H A Damdxdna_pci_drv.c167 unsigned long heap_id; in amdxdna_client_cleanup() local
174 xa_for_each(&client->dev_heap_xa, heap_id, heap) in amdxdna_client_cleanup()
H A Daie2_ctx.c110 unsigned long heap_id; in aie2_hwctx_restart() local
127 xa_for_each_range(&hwctx->client->dev_heap_xa, heap_id, heap, 1, in aie2_hwctx_restart()
133 XDNA_ERR(xdna, "Add heap %ld failed ret %d", heap_id, ret); in aie2_hwctx_restart()
/linux/drivers/gpu/drm/imagination/
H A Dpvr_vm.c1122 for (u32 heap_id = 0; heap_id < ARRAY_SIZE(pvr_heaps); heap_id++) { in pvr_find_heap_containing() local
1124 if (heap_id == DRM_PVR_HEAP_RGNHDR && in pvr_find_heap_containing()
1129 if (pvr_heap_contains_range(&pvr_heaps[heap_id], start, end)) in pvr_find_heap_containing()
1130 return &pvr_heaps[heap_id]; in pvr_find_heap_containing()
/linux/drivers/tee/optee/
H A Dsmc_abi.c1708 enum tee_dma_heap_id heap_id = TEE_DMA_HEAP_SECURE_VIDEO_PLAY; in optee_protmem_pool_init() local
1718 pool = optee_protmem_alloc_dyn_pool(optee, heap_id); in optee_protmem_pool_init()
1722 rc = tee_device_register_dma_heap(optee->teedev, heap_id, pool); in optee_protmem_pool_init()