Commit 357ff3dc authored by Oded Gabbay's avatar Oded Gabbay
Browse files

habanalabs: save ctx inside encaps signal



Compute context pointer in hdev shouldn't be used for fetching the
context's pointer.

If an object needs the context's pointer, it should get it while
incrementing its kref, and when the object is released, put it.

Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
parent a4dd2ecf
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment