summaryrefslogtreecommitdiff
path: root/drivers/auxdisplay/img-ascii-lcd.c
diff options
context:
space:
mode:
authorfarah kassabri <fkassabri@habana.ai>2023-07-19 16:56:53 +0300
committerOded Gabbay <ogabbay@kernel.org>2023-10-09 12:37:22 +0300
commitba24b5ec7847d4126fc37cabd4cef3579d9ca806 (patch)
treefb9c0595f0cc41b4fd1136f44d23f491b96a977c /drivers/auxdisplay/img-ascii-lcd.c
parent1157b5d6b3b069394e37cd3b1d32c39eb833e546 (diff)
accel/habanalabs: split user interrupts pending list
Currently driver maintain one list for both pending user interrupts which seeks to wait till CQ reaches it's target value and also the ones that seeks to get timestamp records when the CQ reaches it's target value. This causes delay in handling the waiters which gets higher priority than the timestamp records. In order to solve this, let's split the list into two, one for each case and each one is protected by it's own spinlock. Waiters will be handled within the interrupt context first, then the timestamp records will be set. Freeing the timestamp related memory will be handled in a workqueue. Signed-off-by: farah kassabri <fkassabri@habana.ai> Reviewed-by: Tomer Tayar <ttayar@habana.ai> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/auxdisplay/img-ascii-lcd.c')
0 files changed, 0 insertions, 0 deletions