mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Revert "Support for L0 to read Device LUID from the WDDM driver using EXT Prop"
This reverts commit b5b9c3500f.
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
448278ac56
commit
1995fd9d92
@@ -6,13 +6,11 @@
|
||||
*/
|
||||
|
||||
#include "shared/source/gmm_helper/gmm.h"
|
||||
#include "shared/source/helpers/string.h"
|
||||
#include "shared/test/common/helpers/debug_manager_state_restore.h"
|
||||
#include "shared/test/common/os_interface/windows/wddm_fixture.h"
|
||||
#include "shared/test/common/test_macros/hw_test.h"
|
||||
|
||||
namespace NEO {
|
||||
std::unique_ptr<HwDeviceIdWddm> createHwDeviceIdFromAdapterLuid(OsEnvironmentWin &osEnvironment, LUID adapterLuid);
|
||||
|
||||
using WddmTests = WddmTestWithMockGdiDll;
|
||||
|
||||
@@ -388,17 +386,6 @@ TEST_F(WddmTests, GivenPlatformNotSupportEvictIfNecessaryWhenAdjustingEvictNeede
|
||||
bool value = wddm->adjustEvictNeededParameter(false);
|
||||
EXPECT_TRUE(value);
|
||||
}
|
||||
using WddmOsContextDeviceLuidTests = WddmFixtureLuid;
|
||||
TEST_F(WddmFixtureLuid, givenValidOsContextAndLuidDataRequestThenValidDataReturned) {
|
||||
LUID adapterLuid = {0x12, 0x1234};
|
||||
wddm->hwDeviceId = NEO::createHwDeviceIdFromAdapterLuid(*osEnvironment, adapterLuid);
|
||||
std::vector<uint8_t> luidData;
|
||||
size_t arraySize = 8;
|
||||
osContext->getDeviceLuidArray(luidData, arraySize);
|
||||
uint64_t luid = 0;
|
||||
memcpy_s(&luid, sizeof(uint64_t), luidData.data(), sizeof(uint8_t) * luidData.size());
|
||||
EXPECT_NE(luid, (uint64_t)0);
|
||||
}
|
||||
|
||||
uint64_t waitForSynchronizationObjectFromCpuCounter = 0u;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user