Add alternative residency model on Linux

Related-To: NEO-4732

Change-Id: I79e165d2b647af200ca314e1183ecf05903de644
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2020-07-02 11:49:46 +02:00
parent 519e75e3d6
commit ff0add74e3
50 changed files with 521 additions and 272 deletions

View File

@@ -10,9 +10,9 @@
namespace NEO {
void DrmAllocation::appendBOs(uint32_t handleId, std::vector<BufferObject *> &bufferObjects) {
void DrmAllocation::bindBOs(uint32_t handleId, uint32_t drmContextId, std::vector<BufferObject *> *bufferObjects, bool bind) {
auto bo = this->getBO();
appendBO(bo, bufferObjects);
bindBO(bo, drmContextId, bufferObjects, bind);
}
} // namespace NEO