aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/habanalabs/gaudi2
diff options
context:
space:
mode:
authorOfir Bitton2022-06-28 21:05:28 +0300
committerOded Gabbay2022-07-12 09:09:28 +0300
commit1a6609cdd496b1d2183189674962035903025976 (patch)
treead48b1a6fdeb628ff905f27455e31f06f5507d27 /drivers/misc/habanalabs/gaudi2
parent2b9e583d0aadcf6578e2595c07d3b1e898013d17 (diff)
habanalabs: naming refactor of user interrupt flow
Current naming convention can be misleading. Hence renaming some variables and defines in order to be more explicit. Signed-off-by: Ofir Bitton <obitton@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc/habanalabs/gaudi2')
-rw-r--r--drivers/misc/habanalabs/gaudi2/gaudi2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/misc/habanalabs/gaudi2/gaudi2.c b/drivers/misc/habanalabs/gaudi2/gaudi2.c
index 93373290e894..8f012076363d 100644
--- a/drivers/misc/habanalabs/gaudi2/gaudi2.c
+++ b/drivers/misc/habanalabs/gaudi2/gaudi2.c
@@ -2891,9 +2891,9 @@ static void gaudi2_user_interrupt_setup(struct hl_device *hdev)
struct asic_fixed_properties *prop = &hdev->asic_prop;
int i, j, k;
- /* Initialize common user interrupt */
- HL_USR_INTR_STRUCT_INIT(hdev->common_user_interrupt, hdev, HL_COMMON_USER_INTERRUPT_ID,
- false);
+ /* Initialize common user CQ interrupt */
+ HL_USR_INTR_STRUCT_INIT(hdev->common_user_cq_interrupt, hdev,
+ HL_COMMON_USER_CQ_INTERRUPT_ID, false);
/* User interrupts structure holds both decoder and user interrupts from various engines.
* We first initialize the decoder interrupts and then we add the user interrupts.