Skip to content
Commit cf01514c authored by Oded Gabbay's avatar Oded Gabbay
Browse files

habanalabs: patched cb equals user cb in device memset



During device memory memset, the driver allocates and use a CB (command
buffer). To reuse existing code, it keeps a pointer to the CB in two
variables, user_cb and patched_cb. Therefore, there is no need to "put"
both the user_cb and patched_cb, as it will cause an underflow of the
refcnt of the CB.

Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
parent a37e4719
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment