kfdtest: add MES judging API in test utility.

Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Change-Id: I978fc85b7c81ea65b97953a50d2d0312bcba95bf
This commit is contained in:
Yifan Zhang
2023-02-23 13:51:51 +08:00
committed by Yifan1 Zhang
parent 64aa9009e1
commit 564913526a
4 changed files with 12 additions and 0 deletions
@@ -58,6 +58,7 @@ class KFDBaseComponentTest : public testing::Test {
// @return DRM Render Node if successful or -1 on failure
int FindDRMRenderNode(int gpuNode);
unsigned int GetFamilyIdFromNodeId(unsigned int nodeId);
bool isMES(unsigned int nodeId);
unsigned int GetFamilyIdFromDefaultNode(){ return m_FamilyId; }
// @brief Executed before the first test that uses KFDBaseComponentTest.