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
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -33,7 +33,7 @@ enum goya_queue_id { · 32 unmodified lines | ||
| 33 | 33 | GOYA_QUEUE_ID_DMA_3, |
| 34 | 34 | GOYA_QUEUE_ID_DMA_4, |
| 35 | 35 | GOYA_QUEUE_ID_CPU_PQ, |
| 36 | − GOYA_QUEUE_ID_MME, | |
| 36 | + GOYA_QUEUE_ID_MME, /* Internal queues start here */ | |
| 37 | 37 | GOYA_QUEUE_ID_TPC0, |
| 38 | 38 | GOYA_QUEUE_ID_TPC1, |
| 39 | 39 | GOYA_QUEUE_ID_TPC2, |
| @@ -181,7 +181,10 @@ struct hl_cs_in { · 141 unmodified lines | ||
| 181 | 181 | }; |
| 182 | 182 | |
| 183 | 183 | 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 | + */ | |
| 185 | 188 | __u64 seq; |
| 186 | 189 | /* HL_CS_STATUS_* */ |
| 187 | 190 | __u32 status; |