mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Revert "Add mechanism to ensure resource lifetime residency on Linux"
This reverts commit 537ffbcb00.
Change-Id: I425a6167979e1f7bb9bc1ca8a8b91bd8174be480
This commit is contained in:
committed by
sys_ocldev
parent
85a5dcfe62
commit
a843293f89
@@ -17,7 +17,6 @@
|
||||
#include "shared/source/os_interface/linux/drm_buffer_object.h"
|
||||
#include "shared/source/os_interface/linux/drm_engine_mapper.h"
|
||||
#include "shared/source/os_interface/linux/drm_memory_manager.h"
|
||||
#include "shared/source/os_interface/linux/drm_memory_operations_handler.h"
|
||||
#include "shared/source/os_interface/linux/drm_neo.h"
|
||||
#include "shared/source/os_interface/linux/os_context_linux.h"
|
||||
#include "shared/source/os_interface/linux/os_interface.h"
|
||||
@@ -116,13 +115,6 @@ void DrmCommandStreamReceiver<GfxFamily>::processResidency(const ResidencyContai
|
||||
makeResidentBufferObjects(drmAlloc, handleId);
|
||||
}
|
||||
}
|
||||
|
||||
auto memoryOperationInterface = static_cast<DrmMemoryOperationsHandler *>(this->executionEnvironment.rootDeviceEnvironments[this->rootDeviceIndex]->memoryOperationsInterface.get());
|
||||
auto allTimeResidentAllocs = memoryOperationInterface->getResidencySet();
|
||||
for (const auto &alloc : allTimeResidentAllocs) {
|
||||
const auto drmAlloc = static_cast<DrmAllocation *>(alloc);
|
||||
makeResidentBufferObjects(drmAlloc, handleId);
|
||||
}
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
|
||||
Reference in New Issue
Block a user