mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-31 12:11:31 +08:00
Pass proper handle to initContextAuxTableRegister function
Resolves: NEO-4082, NEO-4080, NEO-4079 Change-Id: If8d0b69126d6442e8a9a102cd21f78944f8551e9 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
aaed434ded
commit
6ba76147d0
@@ -1397,7 +1397,9 @@ HWTEST_TEMPLATED_F(DrmCommandStreamTest, givenDrmCommandStreamReceiverWhenInitia
|
||||
auto &rootDeviceEnvironment = executionEnvironment.rootDeviceEnvironments[1];
|
||||
|
||||
MockGmmPageTableMngr *mockMngr = static_cast<MockGmmPageTableMngr *>(rootDeviceEnvironment->pageTableManager.get());
|
||||
EXPECT_CALL(*mockMngr, initContextAuxTableRegister(::testing::_, ::testing::_)).Times(1);
|
||||
auto csrHandle = reinterpret_cast<void *>(0x1234);
|
||||
mockMngr->setCsrHandle(csrHandle);
|
||||
EXPECT_CALL(*mockMngr, initContextAuxTableRegister(csrHandle, ::testing::_)).Times(1);
|
||||
|
||||
EXPECT_FALSE(rootDeviceEnvironment->pageTableManager->initialized);
|
||||
LinearStream linearStream = {};
|
||||
|
||||
Reference in New Issue
Block a user