libhsakmt: Update wave suspend/resume API

This is updating to the new suspend and resume API for the
KFD and the thunk.  We now support passing in a list of queues
to suspend, and not just all of the queues for the process.

The kfdtest testcase was also updated so it still compiles.

Change-Id: I71d1b178476bd9df0c311bdedaa6a891528cebcf
Signed-off-by: Philip Cox <Philip.Cox@amd.com>
Tento commit je obsažen v:
Philip Cox
2019-03-29 14:42:53 -04:00
rodič d21e9d5bbd
revize c2c1385e29
6 změnil soubory, kde provedl 244 přidání a 108 odebrání
+4 -3
Zobrazit soubor
@@ -804,10 +804,11 @@ typedef enum _HSA_DBG_WAVE_LAUNCH_MODE
HSA_DBG_WAVE_LAUNCH_MODE_NUM
} HSA_DBG_WAVE_LAUNCH_MODE;
/**
* There are no flags currently defined.
*/
typedef enum HSA_DBG_NODE_CONTROL {
HSA_DBG_NODE_CONTROL_NO_GRACE_PERIOD = 0x01,
HSA_DBG_NODE_CONTROL_MEMORY_FENCE = 0x02,
HSA_DBG_NODE_CONTROL_UPDATE_CONTEXT = 0x04,
HSA_DBG_NODE_CONTROL_FLAG_MAX = 0x01
} HSA_DBG_NODE_CONTROL;