Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment