diff --git a/src/runtime_src/core/edge/drm/zocl/edge/zocl_aie.c b/src/runtime_src/core/edge/drm/zocl/edge/zocl_aie.c index 9be7cc55d9..86aa34c465 100644 --- a/src/runtime_src/core/edge/drm/zocl/edge/zocl_aie.c +++ b/src/runtime_src/core/edge/drm/zocl/edge/zocl_aie.c @@ -524,12 +524,12 @@ zocl_create_aie(struct drm_zocl_slot *slot, struct axlf *axlf, char __user *xclb } } - /* TODO figure out the partition id and uid from xclbin or PDI */ + /* TODO figure out the uid from xclbin or PDI */ req.partition_id = partition_id; req.uid = 0; req.meta_data = 0; - if (aie_res) + if (hw_gen == 1) req.meta_data = (u64)aie_res; if (slot->aie->aie_dev) {