mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 00:24:58 +08:00
refactor: bind drm context within IoctlHelper::createDrmContext method
Related-To: NEO-6999 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
efa19a0b18
commit
fffd56d7a6
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2021 Intel Corporation
|
||||
* Copyright (C) 2018-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -22,7 +22,7 @@ struct EngineControl {
|
||||
CommandStreamReceiver *commandStreamReceiver = nullptr;
|
||||
OsContext *osContext = nullptr;
|
||||
|
||||
aub_stream::EngineType &getEngineType() const { return osContext->getEngineType(); }
|
||||
const aub_stream::EngineType &getEngineType() const { return osContext->getEngineType(); }
|
||||
EngineUsage getEngineUsage() const { return osContext->getEngineUsage(); }
|
||||
};
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user