summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorOfir Bitton <obitton@habana.ai>2021-01-27 16:34:37 +0200
committerOded Gabbay <ogabbay@kernel.org>2021-02-08 18:20:08 +0200
commite52606d2f5363f4900cfe8419e391644b0229c6f (patch)
treea6d56addf69aeab2224c7502960ed13b9f423358 /include
parent5dbd7b4de6ef84321cc1378eccdd92d4730c2e56 (diff)
downloadlinux-e52606d2f5363f4900cfe8419e391644b0229c6f.tar.bz2
habanalabs: support fetching first available user CQ
User must be aware of the available CQs when it needs to use them. 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 'include')
-rw-r--r--include/uapi/misc/habanalabs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/misc/habanalabs.h b/include/uapi/misc/habanalabs.h
index ebde42b37b43..64ae83b5f8e5 100644
--- a/include/uapi/misc/habanalabs.h
+++ b/include/uapi/misc/habanalabs.h
@@ -414,10 +414,13 @@ struct hl_pll_frequency_info {
* struct hl_info_sync_manager - sync manager information
* @first_available_sync_object: first available sob
* @first_available_monitor: first available monitor
+ * @first_available_cq: first available cq
*/
struct hl_info_sync_manager {
__u32 first_available_sync_object;
__u32 first_available_monitor;
+ __u32 first_available_cq;
+ __u32 reserved;
};
/**