2018-11-21 09:57:51 +01:00
|
|
|
/*
|
2019-12-30 14:40:24 +01:00
|
|
|
* Copyright (C) 2018-2020 Intel Corporation
|
2018-11-21 09:57:51 +01:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
2020-07-28 01:36:52 -07:00
|
|
|
#include "engine_node.h"
|
2018-11-21 09:57:51 +01:00
|
|
|
|
2019-03-26 11:59:46 +01:00
|
|
|
namespace NEO {
|
2018-11-21 09:57:51 +01:00
|
|
|
class CommandStreamReceiver;
|
|
|
|
|
class OsContext;
|
|
|
|
|
|
|
|
|
|
struct EngineControl {
|
|
|
|
|
EngineControl() = default;
|
|
|
|
|
EngineControl(CommandStreamReceiver *commandStreamReceiver, OsContext *osContext)
|
2020-07-28 01:36:52 -07:00
|
|
|
: commandStreamReceiver(commandStreamReceiver),
|
|
|
|
|
osContext(osContext),
|
|
|
|
|
engineType(aub_stream::EngineType::ENGINE_RCS){};
|
2018-11-21 09:57:51 +01:00
|
|
|
|
|
|
|
|
CommandStreamReceiver *commandStreamReceiver = nullptr;
|
|
|
|
|
OsContext *osContext = nullptr;
|
2020-07-28 01:36:52 -07:00
|
|
|
aub_stream::EngineType engineType;
|
2018-11-21 09:57:51 +01:00
|
|
|
};
|
2019-03-26 11:59:46 +01:00
|
|
|
} // namespace NEO
|