Add functions to get the kfd debugger version info
To support adding new features to the kfd debugger, and not break functionality, we need to be able to check the kfd debugger support version info from the kernel. Change-Id: Icd88e4edab8430c35eaed588e62d892c1b5c62ec Signed-off-by: Philip Cox <Philip.Cox@amd.com>
此提交包含在:
1 父節點
35d56297d3
當前提交
dbbd189b33
3 file changed
+81
-1
No files matched your search
+30
@@ -917,6 +917,36 @@ hsaKmtSetWaveLaunchMode(
|
||||
HSA_DBG_WAVE_LAUNCH_MODE WaveLaunchMode //IN
|
||||
);
|
||||
|
||||
/**
|
||||
* Get the major and minor version of the kernel debugger support.
|
||||
*
|
||||
* Returns:
|
||||
* - HSAKMT_STATUS_SUCCESS if successful.
|
||||
*
|
||||
* - HSAKMT_STATUS_INVALID_HANDLE if NodeId is invalid.
|
||||
*
|
||||
* - HSAKMT_STATUS_NOT_SUPPORTED if debug trap not supported for NodeId.
|
||||
*/
|
||||
HSAKMT_STATUS
|
||||
HSAKMTAPI
|
||||
hsaKmtGetKernelDebugTrapVersionInfo(
|
||||
HSAuint32 *Major, //Out
|
||||
HSAuint32 *Minor //Out
|
||||
);
|
||||
|
||||
/**
|
||||
* Get the major and minor version of the thunk debugger support.
|
||||
*/
|
||||
void
|
||||
HSAKMTAPI
|
||||
hsaKmtGetThunkDebugTrapVersionInfo(
|
||||
HSAuint32 *Major, //Out
|
||||
HSAuint32 *Minor //Out
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
Set a debug memory access watch point. A memory access of the kind
|
||||
specified by WatchMode to an matching address will cause the trap
|
||||
|
||||
Reference in new issue
封鎖使用者