Revert "kfdtest: add MES judging API in test utility."
See description of previous revert. This reverts commit8554f0df14. Signed-off-by: Graham Sider <Graham.Sider@amd.com> Change-Id: I969dc6469e62b50cd7ba0595918538602afa7516 [ROCm/ROCR-Runtime commit:287cb29340]
This commit is contained in:
@@ -164,11 +164,6 @@ unsigned int KFDBaseComponentTest::GetFamilyIdFromNodeId(unsigned int nodeId)
|
||||
return FamilyIdFromNode(m_NodeInfo.GetNodeProperties(nodeId));
|
||||
}
|
||||
|
||||
bool KFDBaseComponentTest::isMES(unsigned int nodeId)
|
||||
{
|
||||
return CheckMES(m_NodeInfo.GetNodeProperties(nodeId));
|
||||
}
|
||||
|
||||
int KFDBaseComponentTest::FindDRMRenderNode(int gpuNode) {
|
||||
HsaNodeProperties *nodeProperties;
|
||||
_HSAKMT_STATUS status;
|
||||
|
||||
@@ -58,7 +58,6 @@ 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.
|
||||
|
||||
@@ -238,11 +238,6 @@ bool isTonga(const HsaNodeProperties *props) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CheckMES(const HsaNodeProperties *props) {
|
||||
/* MES devices need GART mappings and therefore need non-paged memory */
|
||||
return (props->EngineId.ui32.Major >= 11) ? true : false;
|
||||
}
|
||||
|
||||
const uint32_t GetGfxVersion(const HsaNodeProperties *props) {
|
||||
return ((props->EngineId.ui32.Major << 16) |
|
||||
(props->EngineId.ui32.Minor << 8) |
|
||||
|
||||
@@ -50,7 +50,6 @@ HSAKMT_STATUS CreateQueueTypeEvent(bool ManualReset, bool IsSignaled, unsigned i
|
||||
|
||||
bool is_dgpu();
|
||||
bool isTonga(const HsaNodeProperties *props);
|
||||
bool CheckMES(const HsaNodeProperties *props);
|
||||
bool hasPciAtomicsSupport(int node);
|
||||
unsigned int FamilyIdFromNode(const HsaNodeProperties *props);
|
||||
const uint32_t GetGfxVersion(const HsaNodeProperties *props);
|
||||
|
||||
Reference in New Issue
Block a user