summaryrefslogtreecommitdiffstats
path: root/drivers/misc/habanalabs/common/habanalabs_drv.c
diff options
context:
space:
mode:
authorOded Gabbay <ogabbay@kernel.org>2021-11-30 23:02:21 +0200
committerOded Gabbay <ogabbay@kernel.org>2021-12-26 08:59:08 +0200
commit4337b50b5fe5ee64c821790f601ee6153bb9f027 (patch)
tree8a528f4e86286c1b4129134d21cbb65909cac438 /drivers/misc/habanalabs/common/habanalabs_drv.c
parent6798676f7ef5916133e0c915be73b7a3b7e2a312 (diff)
downloadlinux-4337b50b5fe5ee64c821790f601ee6153bb9f027.tar.gz
linux-4337b50b5fe5ee64c821790f601ee6153bb9f027.tar.bz2
linux-4337b50b5fe5ee64c821790f601ee6153bb9f027.zip
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: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc/habanalabs/common/habanalabs_drv.c')
0 files changed, 0 insertions, 0 deletions