mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

Resolves: NEO-3364 Change-Id: I05e8b9a05328298dcc578d62b2aa7b56ffbf4ddc Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
18 lines
434 B
C++
18 lines
434 B
C++
/*
|
|
* Copyright (C) 2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "runtime/os_interface/linux/drm_allocation.h"
|
|
#include "runtime/os_interface/linux/drm_command_stream.h"
|
|
|
|
namespace NEO {
|
|
template <typename GfxFamily>
|
|
void DrmCommandStreamReceiver<GfxFamily>::makeResidentBufferObjects(const DrmAllocation *drmAllocation) {
|
|
auto bo = drmAllocation->getBO();
|
|
makeResident(bo);
|
|
}
|
|
} // namespace NEO
|