History

uapi/habanalabs: add some comments in habanalabs.h

This patch adds two comments in uapi/habanalabs.h: - From which queue id the internal queues begin - Invalid values that can be returned in the seq field from the CS IOCTL

Oded Gabbay committed 7 years ago

Commit e1266001 parent 393e5b51 file · +5 −2Browse files

Showing the changes to include/uapi (1 of 1 file). Show all

Unified · Split

include/uapi/misc/habanalabs.h+5−2
@@ -33,7 +33,7 @@ enum goya_queue_id { · 32 unmodified lines
3333 GOYA_QUEUE_ID_DMA_3,
3434 GOYA_QUEUE_ID_DMA_4,
3535 GOYA_QUEUE_ID_CPU_PQ,
36− GOYA_QUEUE_ID_MME,
36+ GOYA_QUEUE_ID_MME, /* Internal queues start here */
3737 GOYA_QUEUE_ID_TPC0,
3838 GOYA_QUEUE_ID_TPC1,
3939 GOYA_QUEUE_ID_TPC2,
@@ -181,7 +181,10 @@ struct hl_cs_in { · 141 unmodified lines
181181 };
182182
183183 struct hl_cs_out {
184− /* this holds the sequence number of the CS to pass to wait ioctl */
184+ /*
185+ * seq holds the sequence number of the CS to pass to wait ioctl. All
186+ * values are valid except for 0 and ULLONG_MAX
187+ */
185188 __u64 seq;
186189 /* HL_CS_STATUS_* */
187190 __u32 status;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t