| @@ -279,6 +279,7 @@ enum hl_device_status { · 278 unmodified lines |
| 279 | * HL_INFO_CLK_THROTTLE_REASON - Retrieve clock throttling reason | 279 | * HL_INFO_CLK_THROTTLE_REASON - Retrieve clock throttling reason |
| 280 | * HL_INFO_SYNC_MANAGER - Retrieve sync manager info per dcore | 280 | * HL_INFO_SYNC_MANAGER - Retrieve sync manager info per dcore |
| 281 | * HL_INFO_TOTAL_ENERGY - Retrieve total energy consumption | 281 | * HL_INFO_TOTAL_ENERGY - Retrieve total energy consumption |
| | 282 | * HL_INFO_PLL_FREQUENCY - Retrieve PLL frequency |
| 282 | */ | 283 | */ |
| 283 | #define HL_INFO_HW_IP_INFO 0 | 284 | #define HL_INFO_HW_IP_INFO 0 |
| 284 | #define HL_INFO_HW_EVENTS 1 | 285 | #define HL_INFO_HW_EVENTS 1 |
| @@ -425,6 +426,8 @@ struct hl_info_sync_manager { · 140 unmodified lines |
| 425 | * @ctx_device_in_reset_drop_cnt: context dropped due to device in reset | 426 | * @ctx_device_in_reset_drop_cnt: context dropped due to device in reset |
| 426 | * @total_max_cs_in_flight_drop_cnt: total dropped due to maximum CS in-flight | 427 | * @total_max_cs_in_flight_drop_cnt: total dropped due to maximum CS in-flight |
| 427 | * @ctx_max_cs_in_flight_drop_cnt: context dropped due to maximum CS in-flight | 428 | * @ctx_max_cs_in_flight_drop_cnt: context dropped due to maximum CS in-flight |
| | 429 | * @total_validation_drop_cnt: total dropped due to validation error |
| | 430 | * @ctx_validation_drop_cnt: context dropped due to validation error |
| 428 | */ | 431 | */ |
| 429 | struct hl_info_cs_counters { | 432 | struct hl_info_cs_counters { |
| 430 | __u64 total_out_of_mem_drop_cnt; | 433 | __u64 total_out_of_mem_drop_cnt; |
| @@ -437,6 +440,8 @@ struct hl_info_cs_counters { · 6 unmodified lines |
| 437 | __u64 ctx_device_in_reset_drop_cnt; | 440 | __u64 ctx_device_in_reset_drop_cnt; |
| 438 | __u64 total_max_cs_in_flight_drop_cnt; | 441 | __u64 total_max_cs_in_flight_drop_cnt; |
| 439 | __u64 ctx_max_cs_in_flight_drop_cnt; | 442 | __u64 ctx_max_cs_in_flight_drop_cnt; |
| | 443 | __u64 total_validation_drop_cnt; |
| | 444 | __u64 ctx_validation_drop_cnt; |
| 440 | }; | 445 | }; |
| 441 | | 446 | |
| 442 | enum gaudi_dcores { | 447 | enum gaudi_dcores { |