Revert "feature: support UUID feature for windows"

This reverts commit cb2b4214b4.

Related-To: NEO-8799

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
This commit is contained in:
Kulkarni, Ashwin Kumar
2023-10-19 14:59:46 +00:00
committed by Compute-Runtime-Automation
parent d724627098
commit 875f653952

View File

@@ -13,7 +13,6 @@
#include "shared/source/os_interface/product_helper.inl"
#include "shared/source/os_interface/product_helper_dg2_and_later.inl"
#include "shared/source/os_interface/product_helper_xehp_and_later.inl"
#include "shared/source/os_interface/windows/wddm/wddm.h"
#include "shared/source/xe_hpg_core/hw_cmds_dg2.h"
constexpr static auto gfxProduct = IGFX_DG2;
@@ -29,27 +28,6 @@ bool ProductHelperHw<gfxProduct>::isDirectSubmissionSupported(ReleaseHelper *rel
return false;
}
template <>
bool ProductHelperHw<gfxProduct>::getUuid(NEO::DriverModel *driverModel, uint32_t subDeviceCount, uint32_t deviceIndex, std::array<uint8_t, ProductHelper::uuidSize> &uuid) const {
if (driverModel->getDriverModelType() != DriverModelType::WDDM) {
return false;
}
NEO::Wddm *pWddm = driverModel->as<NEO::Wddm>();
GT_SYSTEM_INFO *gtInfo = pWddm->getGtSysInfo();
uint64_t uuidValue = gtInfo->DeviceUUID;
if (uuidValue == 0) {
return false;
}
uuid.fill(0);
memcpy_s(uuid.data(), uuid.size(), &uuidValue, sizeof(uuidValue));
return true;
}
template <>
int ProductHelperHw<gfxProduct>::configureHardwareCustom(HardwareInfo *hwInfo, OSInterface *osIface) const {
if (allowCompression(*hwInfo)) {