mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 05:56:36 +08:00
Unit tests: Initialize gmm before wddm initialization
Change-Id: I751bd93248aa78731b9591f494eafcd12d3e6d82
This commit is contained in:
committed by
sys_ocldev
parent
70b1745c7a
commit
56557ca3a3
@@ -77,7 +77,6 @@ Wddm::Wddm() : initialized(false),
|
||||
maximumApplicationAddress = 0;
|
||||
node = GPUNODE_3D;
|
||||
preemptionMode = PreemptionMode::Disabled;
|
||||
gmmMemory = std::unique_ptr<GmmMemory>(GmmMemory::create());
|
||||
minAddress = 0;
|
||||
kmDafListener = std::unique_ptr<KmDafListener>(new KmDafListener);
|
||||
gdi = std::unique_ptr<Gdi>(new Gdi());
|
||||
|
||||
@@ -52,6 +52,9 @@ bool Wddm::init() {
|
||||
if (!createPagingQueue()) {
|
||||
return false;
|
||||
}
|
||||
if (!gmmMemory) {
|
||||
gmmMemory.reset(GmmMemory::create());
|
||||
}
|
||||
if (!configureDeviceAddressSpace<GfxFamily>()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user