kfdtest: add base debug class and debug attach/detach operation

Add base debug class and attach/detach operations.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Change-Id: I60f3c166646f05838fec208ac2f59bba998c63f8


[ROCm/ROCR-Runtime commit: dd56b38c2f]
This commit is contained in:
Jonathan Kim
2022-03-21 12:35:01 -04:00
committed by Jonathan Kim
parent b5f6c688b6
commit 1435bb4887
6 changed files with 162 additions and 3 deletions
+9
View File
@@ -774,6 +774,15 @@ hsaKmtDbgGetQueueData(
bool suspend_queues //In
);
/**
Check whether gpu firmware and kernel support debugging
*/
HSAKMT_STATUS
HSAKMTAPI
hsaKmtCheckRuntimeDebugSupport(
void
);
/**
Debug ops call primarily used for KFD testing
*/