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
33 GOYA_QUEUE_ID_DMA_3,33 GOYA_QUEUE_ID_DMA_3,
34 GOYA_QUEUE_ID_DMA_4,34 GOYA_QUEUE_ID_DMA_4,
35 GOYA_QUEUE_ID_CPU_PQ,35 GOYA_QUEUE_ID_CPU_PQ,
36 GOYA_QUEUE_ID_MME,36 GOYA_QUEUE_ID_MME, /* Internal queues start here */
37 GOYA_QUEUE_ID_TPC0,37 GOYA_QUEUE_ID_TPC0,
38 GOYA_QUEUE_ID_TPC1,38 GOYA_QUEUE_ID_TPC1,
39 GOYA_QUEUE_ID_TPC2,39 GOYA_QUEUE_ID_TPC2,
@@ -181,7 +181,10 @@ struct hl_cs_in { · 141 unmodified lines
181};181};
182 182
183struct hl_cs_out {183struct 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 */
185 __u64 seq;188 __u64 seq;
186 /* HL_CS_STATUS_* */189 /* HL_CS_STATUS_* */
187 __u32 status;190 __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