diff options
author | Tomer Tayar <ttayar@habana.ai> | 2020-01-05 16:11:22 +0100 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2020-03-24 09:54:16 +0100 |
commit | 1718a45b284d274ebb57ee3998bd535fb9d6c03b (patch) | |
tree | 2ceac1c7baec10f8ca5425e39c7064f882227375 /drivers/misc/ocxl/Makefile | |
parent | habanalabs: Modify CS jobs counter to u16 (diff) | |
download | linux-1718a45b284d274ebb57ee3998bd535fb9d6c03b.tar.xz linux-1718a45b284d274ebb57ee3998bd535fb9d6c03b.zip |
habanalabs: Avoid running restore chunks if no execute chunks
CS with no chunks for execute phase is invalid, so its
context_switch/restore phase should not be run.
Hence, move the check of the execute chunks number to the beginning of
hl_cs_ioctl().
Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/misc/ocxl/Makefile')
0 files changed, 0 insertions, 0 deletions