Searched refs:fw_ctx_id (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/accel/amdxdna/ |
| H A D | aie2_message.c | 227 hwctx->fw_ctx_id = resp.context_id; in aie2_create_context() 228 if (WARN_ON_ONCE(hwctx->fw_ctx_id == -1)) in aie2_create_context() 232 ret = aie2_runtime_cfg(ndev, AIE2_RT_CFG_FORCE_PREEMPT, &hwctx->fw_ctx_id); in aie2_create_context() 274 XDNA_DBG(xdna, "Created fw ctx %d pasid %d", hwctx->fw_ctx_id, hwctx->client->pasid); in aie2_create_context() 281 aie2_destroy_context_req(ndev, hwctx->fw_ctx_id); in aie2_create_context() 294 ret = aie2_destroy_context_req(ndev, hwctx->fw_ctx_id); in aie2_destroy_context() 296 XDNA_DBG(xdna, "Destroyed fw ctx %d", hwctx->fw_ctx_id); in aie2_destroy_context() 298 hwctx->fw_ctx_id = -1; in aie2_destroy_context() 1215 req.context_id = ctx->fw_ctx_id; in aie2_runtime_update_ctx_prop()
|
| H A D | aie2_ctx.c | 119 ret = aie2_map_host_buf(xdna->dev_handle, hwctx->fw_ctx_id, in aie2_hwctx_restart() 129 ret = aie2_add_host_buf(xdna->dev_handle, hwctx->fw_ctx_id, in aie2_hwctx_restart() 488 ret = aie2_query_app_health(xdna->dev_handle, hwctx->fw_ctx_id, report); in aie2_sched_job_timedout() 761 ret = aie2_map_host_buf(xdna->dev_handle, hwctx->fw_ctx_id, in aie2_hwctx_init() 1238 ret = aie2_add_host_buf(xdna->dev_handle, hwctx->fw_ctx_id, in aie2_hwctx_heap_expand()
|
| H A D | amdxdna_ctx.h | 104 u32 fw_ctx_id; member
|
| H A D | aie2_pci.c | 838 ret = aie2_query_app_health(ndev, hwctx->fw_ctx_id, &report); in aie2_hwctx_status_cb() 917 if (hwctx->fw_ctx_id >= xdna->dev_handle->priv->hwctx_limit) { in aie2_fill_hwctx_map() 918 XDNA_ERR(xdna, "Invalid fw ctx id %d/%d ", hwctx->fw_ctx_id, in aie2_fill_hwctx_map() 923 map[hwctx->fw_ctx_id] = hwctx->id; in aie2_fill_hwctx_map()
|
| H A D | amdxdna_ctx.c | 243 hwctx->fw_ctx_id = -1; in amdxdna_drm_create_hwctx_ioctl() 263 hwctx->name = kasprintf(GFP_KERNEL, "hwctx.%d.%d", client->pid, hwctx->fw_ctx_id); in amdxdna_drm_create_hwctx_ioctl()
|