Revert "Add Unrecoverable if GraphicsAllocation in use is being destroyed."

This reverts commit 920d952a4a.

Change-Id: Ib14743e37545776ebf1b6e782daceb436d280f9b
This commit is contained in:
Mrozek, Michal
2018-01-15 14:43:11 +01:00
parent 7c42353c4c
commit 42798fcae0

View File

@@ -20,8 +20,6 @@
* OTHER DEALINGS IN THE SOFTWARE.
*/
#include "runtime/command_stream/command_stream_receiver_hw.h"
#include "runtime/device/device.h"
#include "runtime/helpers/aligned_memory.h"
#include "runtime/helpers/ptr_math.h"
#include "runtime/gmm_helper/gmm_helper.h"
@@ -270,8 +268,6 @@ void WddmMemoryManager::freeGraphicsMemoryImpl(GraphicsAllocation *gfxAllocation
releaseResidencyLock();
UNRECOVERABLE_IF(gfxAllocation->taskCount != ObjectNotUsed && this->device && gfxAllocation->taskCount > *this->device->getCommandStreamReceiver().getTagAddress());
if (input->gmm) {
if (input->gmm->isRenderCompressed) {
status = unmapAuxVA(input->gmm, input->gpuPtr);