summaryrefslogtreecommitdiff
path: root/drivers/misc/habanalabs/common/debugfs.c
diff options
context:
space:
mode:
authorOhad Sharabi <osharabi@habana.ai>2021-01-17 17:01:56 +0300
committerOded Gabbay <ogabbay@kernel.org>2021-01-27 22:03:51 +0300
commitcf30339d3f44a64115e88d46a932fdc3d3644785 (patch)
tree94b5911de1c3ebad848348e4d1c6fefdd4564143 /drivers/misc/habanalabs/common/debugfs.c
parent0811b391469510447a2263f706389b610e454177 (diff)
downloadlinux-cf30339d3f44a64115e88d46a932fdc3d3644785.tar.xz
habanalabs: modify device_idle interface
Currently this API uses single 64 bits mask for engines idle indication. Recently, it was observed that more bits are needed for some ASICs. This patch modifies the use of the idle mask and the idle_extensions mask. Signed-off-by: Ohad Sharabi <osharabi@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc/habanalabs/common/debugfs.c')
-rw-r--r--drivers/misc/habanalabs/common/debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/habanalabs/common/debugfs.c b/drivers/misc/habanalabs/common/debugfs.c
index 9e3c1efe56ba..df847a6d19f4 100644
--- a/drivers/misc/habanalabs/common/debugfs.c
+++ b/drivers/misc/habanalabs/common/debugfs.c
@@ -414,7 +414,7 @@ static int engines_show(struct seq_file *s, void *data)
return 0;
}
- hdev->asic_funcs->is_device_idle(hdev, NULL, s);
+ hdev->asic_funcs->is_device_idle(hdev, NULL, 0, s);
return 0;
}