2020-06-26 09:14:36 +02:00
|
|
|
/*
|
|
|
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "shared/source/os_interface/linux/drm_allocation.h"
|
|
|
|
|
#include "shared/source/os_interface/linux/drm_buffer_object.h"
|
|
|
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
|
|
2020-07-02 11:49:46 +02:00
|
|
|
void DrmAllocation::bindBOs(uint32_t handleId, uint32_t drmContextId, std::vector<BufferObject *> *bufferObjects, bool bind) {
|
2020-06-26 09:14:36 +02:00
|
|
|
auto bo = this->getBO();
|
2020-07-02 11:49:46 +02:00
|
|
|
bindBO(bo, drmContextId, bufferObjects, bind);
|
2020-06-26 09:14:36 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} // namespace NEO
|