Skip to content

Commit

Permalink
Revert "Made aie resources 0 for hw_gen greater than 1 (#8626)" (#8631)
Browse files Browse the repository at this point in the history
This reverts commit 715c7e7.

Signed-off-by: bisingha <[email protected]>
  • Loading branch information
bisingha-xilinx authored Nov 28, 2024
1 parent 715c7e7 commit bce311b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime_src/core/edge/drm/zocl/edge/zocl_aie.c
Original file line number Diff line number Diff line change
Expand Up @@ -524,12 +524,12 @@ zocl_create_aie(struct drm_zocl_slot *slot, struct axlf *axlf, char __user *xclb
}
}

/* TODO figure out the uid from xclbin or PDI */
/* TODO figure out the partition id and uid from xclbin or PDI */
req.partition_id = partition_id;
req.uid = 0;
req.meta_data = 0;

if (hw_gen == 1)
if (aie_res)
req.meta_data = (u64)aie_res;

if (slot->aie->aie_dev) {
Expand Down

0 comments on commit bce311b

Please sign in to comment.