Limit unrecoverable scope.

Change-Id: I3967d64eb0fbae7d34268458568090c2305226f5
This commit is contained in:
Mrozek, Michal
2018-09-24 12:41:59 -07:00
parent 18f6d6a25b
commit e2ee839250

View File

@@ -299,7 +299,10 @@ void WddmMemoryManager::freeGraphicsMemoryImpl(GraphicsAllocation *gfxAllocation
releaseResidencyLock();
UNRECOVERABLE_IF(gfxAllocation->taskCount != ObjectNotUsed && this->csr && this->csr->getTagAddress() && gfxAllocation->taskCount > *this->csr->getTagAddress());
UNRECOVERABLE_IF(DebugManager.flags.CreateMultipleDevices.get() == 0 &&
gfxAllocation->taskCount != ObjectNotUsed &&
this->csr && this->csr->getTagAddress() &&
gfxAllocation->taskCount > *this->csr->getTagAddress());
if (input->gmm) {
if (input->gmm->isRenderCompressed) {