add new queue bit test on clear event
enable thunk query api to report if queue is newly created test new queue bit test on clear events. also fixup cleanup to disable debug trap. Change-Id: I3ebe2d85da66f28b8c82f0e68461ee7d32ec0b0d Signed-off-by: Jonathan Kim <Jonathan.Kim@amd.com> Reviewed-by: Philip Cox <Philip.Cox@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Este cometimento está contido em:
1 ascendente
814e0f0bdc
cometimento
1ff5cb33b2
4 ficheiros modificados
+49
-24
Não existem ficheiros que correspondam à sua pesquisa
+4
-2
@@ -564,7 +564,8 @@ hsaKmtQueryDebugEvent(
|
||||
HSAuint32 *QueueId, // IN/OUT
|
||||
bool ClearEvents, // IN
|
||||
HSA_DEBUG_EVENT_TYPE *EventsReceived, // OUT
|
||||
bool *IsSuspended // OUT
|
||||
bool *IsSuspended, // OUT
|
||||
bool *IsNew // OUT
|
||||
)
|
||||
{
|
||||
HSAKMT_STATUS result;
|
||||
@@ -589,7 +590,8 @@ hsaKmtQueryDebugEvent(
|
||||
*QueueId = argout.data1;
|
||||
*EventsReceived = argout.data3 &
|
||||
(KFD_DBG_EV_STATUS_TRAP | KFD_DBG_EV_STATUS_VMFAULT);
|
||||
*IsSuspended = (argout.data3 & KFD_DBG_EV_STATUS_SUSPENDED) >> 2;
|
||||
*IsSuspended = argout.data3 & KFD_DBG_EV_STATUS_SUSPENDED;
|
||||
*IsNew = argout.data3 & KFD_DBG_EV_STATUS_NEW_QUEUE;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador