mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Remove redundant calls from Wddm::init()
Resolves: NEO-3331 Change-Id: I91dc2f170b9feecb9f84f447a9694fdb9b3a03b3 Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
6ffcd51847
commit
8fca10095e
@@ -50,7 +50,8 @@ CommandStreamReceiver *createMockCommandStreamReceiver(bool withAubDump, Executi
|
||||
if (!executionEnvironment.osInterface) {
|
||||
executionEnvironment.osInterface = std::make_unique<OSInterface>();
|
||||
auto wddm = new WddmMock();
|
||||
wddm->init(PreemptionHelper::getDefaultPreemptionMode(*executionEnvironment.getHardwareInfo()));
|
||||
auto hwInfo = *executionEnvironment.getHardwareInfo();
|
||||
wddm->init(hwInfo);
|
||||
executionEnvironment.osInterface->get()->setWddm(wddm);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user