Files
compute-runtime/core/os_interface/linux/drm_query.cpp
Mateusz Hoppe 3c89cfc753 Move os_interface files to core
Change-Id: Ie708a944130884248499091854ebc483953fa828
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-01-22 14:50:51 +01:00

31 lines
538 B
C++

/*
* Copyright (C) 2019-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "core/os_interface/linux/drm_engine_mapper.h"
#include "drm_neo.h"
namespace NEO {
void *Drm::query(uint32_t queryId) {
return nullptr;
}
bool Drm::queryEngineInfo() {
return true;
}
bool Drm::queryMemoryInfo() {
return true;
}
unsigned int Drm::bindDrmContext(uint32_t drmContextId, uint32_t deviceIndex, aub_stream::EngineType engineType) {
return DrmEngineMapper::engineNodeMap(engineType);
}
} // namespace NEO