Skip to content

Commit 92a3a9b

Browse files
dlibemanogabbay
authored andcommitted
accel/habanalabs: add description to several info ioctls
Several info ioctls may return success although no data retrieved. Signed-off-by: Dani Liberman <[email protected]> Reviewed-by: Oded Gabbay <[email protected]> Signed-off-by: Oded Gabbay <[email protected]>
1 parent 5692102 commit 92a3a9b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

include/uapi/drm/habanalabs_accel.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -787,18 +787,28 @@ enum hl_server_type {
787787
* The address which accessing it caused the razwi.
788788
* Razwi initiator.
789789
* Razwi cause, was it a page fault or MMU access error.
790+
* May return 0 even though no new data is available, in that case
791+
* timestamp will be 0.
790792
* HL_INFO_DEV_MEM_ALLOC_PAGE_SIZES - Retrieve valid page sizes for device memory allocation
791793
* HL_INFO_SECURED_ATTESTATION - Retrieve attestation report of the boot.
792794
* HL_INFO_REGISTER_EVENTFD - Register eventfd for event notifications.
793795
* HL_INFO_UNREGISTER_EVENTFD - Unregister eventfd
794796
* HL_INFO_GET_EVENTS - Retrieve the last occurred events
795797
* HL_INFO_UNDEFINED_OPCODE_EVENT - Retrieve last undefined opcode error information.
798+
* May return 0 even though no new data is available, in that case
799+
* timestamp will be 0.
796800
* HL_INFO_ENGINE_STATUS - Retrieve the status of all the h/w engines in the asic.
797801
* HL_INFO_PAGE_FAULT_EVENT - Retrieve parameters of captured page fault.
802+
* May return 0 even though no new data is available, in that case
803+
* timestamp will be 0.
798804
* HL_INFO_USER_MAPPINGS - Retrieve user mappings, captured after page fault event.
799805
* HL_INFO_FW_GENERIC_REQ - Send generic request to FW.
800806
* HL_INFO_HW_ERR_EVENT - Retrieve information on the reported HW error.
807+
* May return 0 even though no new data is available, in that case
808+
* timestamp will be 0.
801809
* HL_INFO_FW_ERR_EVENT - Retrieve information on the reported FW error.
810+
* May return 0 even though no new data is available, in that case
811+
* timestamp will be 0.
802812
*/
803813
#define HL_INFO_HW_IP_INFO 0
804814
#define HL_INFO_HW_EVENTS 1

0 commit comments

Comments
 (0)