mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Revert "Support for L0 to read Device LUID from the WDDM driver using ext Pro...
This reverts commit 8124bff387.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
8124bff387
commit
ead3a95be3
@@ -10,7 +10,6 @@
|
||||
#include "shared/test/common/test_macros/hw_test.h"
|
||||
|
||||
namespace NEO {
|
||||
std::unique_ptr<HwDeviceIdWddm> createHwDeviceIdFromAdapterLuid(OsEnvironmentWin &osEnvironment, LUID adapterLuid);
|
||||
|
||||
using WddmTests = WddmTestWithMockGdiDll;
|
||||
|
||||
@@ -123,18 +122,6 @@ TEST_F(WddmTests, whenGetAdapterLuidThenLuidIsReturned) {
|
||||
EXPECT_TRUE(luid.HighPart == 0 && luid.LowPart == 0);
|
||||
}
|
||||
|
||||
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;
|
||||
std::memcpy(&luid, luidData.data(), luidData.size() * sizeof(uint8_t));
|
||||
EXPECT_NE(luid, (uint64_t)0);
|
||||
}
|
||||
|
||||
uint64_t waitForSynchronizationObjectFromCpuCounter = 0u;
|
||||
|
||||
NTSTATUS __stdcall waitForSynchronizationObjectFromCpuNoOp(const D3DKMT_WAITFORSYNCHRONIZATIONOBJECTFROMCPU *waitStruct) {
|
||||
|
||||
Reference in New Issue
Block a user