Skip to content

Commit

Permalink
fix start_npu cmdlist (#337)
Browse files Browse the repository at this point in the history
Signed-off-by: Max Zhen <max.zhen@amd.com>
  • Loading branch information
maxzhen authored Dec 24, 2024
1 parent bef34b0 commit c1960ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/driver/amdxdna/aie2_message.c
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ aie2_cmdlist_fill_one_slot_dpu(void *cmd_buf, u32 offset,
memcpy(buf->args, sn->prop_args, arg_sz);

/* Accurate buf size to hint firmware to do necessary copy */
*size += sizeof(*buf) + arg_sz;
*size = sizeof(*buf) + arg_sz;
return 0;
}

Expand Down

0 comments on commit c1960ac

Please sign in to comment.