From 875f65395228b2b857b0445a398228d123b2e3eb Mon Sep 17 00:00:00 2001 From: "Kulkarni, Ashwin Kumar" Date: Thu, 19 Oct 2023 14:59:46 +0000 Subject: [PATCH] Revert "feature: support UUID feature for windows" This reverts commit cb2b4214b4ac9cbd788b92ac5e1af68108142d14. Related-To: NEO-8799 Signed-off-by: Kulkarni, Ashwin Kumar --- .../windows/product_helper_dg2.cpp | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/shared/source/xe_hpg_core/windows/product_helper_dg2.cpp b/shared/source/xe_hpg_core/windows/product_helper_dg2.cpp index 2da31dc9de..4266640483 100644 --- a/shared/source/xe_hpg_core/windows/product_helper_dg2.cpp +++ b/shared/source/xe_hpg_core/windows/product_helper_dg2.cpp @@ -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::isDirectSubmissionSupported(ReleaseHelper *rel return false; } -template <> -bool ProductHelperHw::getUuid(NEO::DriverModel *driverModel, uint32_t subDeviceCount, uint32_t deviceIndex, std::array &uuid) const { - - if (driverModel->getDriverModelType() != DriverModelType::WDDM) { - return false; - } - - NEO::Wddm *pWddm = driverModel->as(); - 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::configureHardwareCustom(HardwareInfo *hwInfo, OSInterface *osIface) const { if (allowCompression(*hwInfo)) {