kfdtest: Use SDMA engine information directly from the node

Change-Id: Icd391c8e821fb0ff5a1094f21b880a97e6d417a3
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
This commit is contained in:
Yong Zhao
2019-06-07 17:03:34 -04:00
parent be6ff2cdff
commit b507911ccd
4 changed files with 11 additions and 10 deletions
+2 -1
View File
@@ -63,7 +63,8 @@ void KFDBaseComponentTest::SetUp() {
g_TestGPUFamilyId = FamilyIdFromNode(nodeProperties);
GetSdmaInfo(nodeProperties, &m_numSdmaEngines, &m_numSdmaQueuesPerEngine);
GetSdmaInfo(nodeProperties, &m_numSdmaEngines, &m_numSdmaXgmiEngines,
&m_numSdmaQueuesPerEngine);
m_FamilyId = g_TestGPUFamilyId;