habanalabs: Modify CS jobs counter to u16
authorTomer Tayar <ttayar@habana.ai>
Sun, 5 Jan 2020 15:05:46 +0000 (15:05 +0000)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 24 Mar 2020 08:54:16 +0000 (10:54 +0200)
commitf3a838c0c72ca09dd153ff29096410ea220660f6
tree96798644f788e8ab082612e6df8c1c5508b8b5b0
parent64a7e2955d9a8a73098f13ccac95d80ad6efd98f
habanalabs: Modify CS jobs counter to u16

As HL_MAX_JOBS_PER_CS is 512, it is possible that more than 255 CS jobs
will be submitted for a certain queue. Hence, modify the
"jobs_in_queue_cnt" parameter of the "hl_cs" structure to be u16 instead
of u8.

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>
drivers/misc/habanalabs/habanalabs.h