Use family type from hwInfo in WDDM

Change-Id: I3120673781b4cc0eb170833ac42eab1aad718d79
This commit is contained in:
Maciej Dziuban
2020-07-06 14:42:48 +02:00
committed by sys_ocldev
parent 85152c5107
commit b1062812be
4 changed files with 22 additions and 2 deletions

View File

@@ -1000,7 +1000,7 @@ bool Wddm::configureDeviceAddressSpace() {
? maximumApplicationAddress + 1u
: 0u;
bool obtainMinAddress = gfxPlatform->eRenderCoreFamily == IGFX_GEN12LP_CORE;
bool obtainMinAddress = rootDeviceEnvironment.getHardwareInfo()->platform.eRenderCoreFamily == IGFX_GEN12LP_CORE;
return gmmMemory->configureDevice(getAdapter(), device, getGdi()->escape, svmSize, featureTable->ftrL3IACoherency, minAddress, obtainMinAddress);
}