Commit 4337b50b authored by Oded Gabbay's avatar Oded Gabbay
Browse files

habanalabs: add helper to get compute context



There are multiple places where the code needs to get the context's
pointer and increment its ref cnt. This is the proper way instead
of using the compute context pointer in the device structure.

Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
parent 6798676f
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