mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 12:42:54 +08:00
Mitigation for WDDM_LINUX allocation size limits
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
058c30c9a8
commit
78499ca48d
@@ -20,7 +20,7 @@ TEST_F(WddmTests, whenCreatingAllocation64kThenDoNotCreateResource) {
|
||||
D3DKMT_HANDLE handle;
|
||||
Gmm gmm(executionEnvironment->rootDeviceEnvironments[0]->getGmmClientContext(), nullptr, 20, 0, false, true, true, {});
|
||||
|
||||
EXPECT_TRUE(wddm->createAllocation64k(&gmm, handle));
|
||||
EXPECT_TRUE(wddm->createAllocation(&gmm, handle));
|
||||
auto gdiParam = getMockAllocationFcn();
|
||||
EXPECT_EQ(FALSE, gdiParam->Flags.CreateResource);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user