2020-08-24 13:08:59 -04:00
|
|
|
/*
|
2022-01-03 14:16:00 +00:00
|
|
|
* Copyright (C) 2020-2022 Intel Corporation
|
2020-08-24 13:08:59 -04:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
#include "shared/source/helpers/basic_math.h"
|
|
|
|
#include "shared/source/helpers/debug_helpers.h"
|
|
|
|
#include "shared/source/os_interface/linux/drm_neo.h"
|
|
|
|
#include "shared/source/os_interface/linux/engine_info.h"
|
2022-01-03 14:16:00 +00:00
|
|
|
#include "shared/source/os_interface/linux/ioctl_helper.h"
|
2020-08-24 13:08:59 -04:00
|
|
|
|
|
|
|
#include "drm/i915_drm.h"
|
|
|
|
|
|
|
|
#include <cstddef>
|
|
|
|
#include <cstdint>
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
|
|
|
|
struct EngineInfoImpl : public EngineInfo {
|
|
|
|
~EngineInfoImpl() override = default;
|
|
|
|
|
2022-01-03 14:16:00 +00:00
|
|
|
EngineInfoImpl(const std::vector<EngineCapabilities> &engineInfos) : engines(engineInfos) {
|
2020-08-24 13:08:59 -04:00
|
|
|
}
|
|
|
|
|
2022-01-03 14:16:00 +00:00
|
|
|
std::vector<EngineCapabilities> engines;
|
2020-08-24 13:08:59 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace NEO
|