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:
Mateusz Jablonski
2022-06-28 17:10:24 +02:00
committed by Compute-Runtime-Automation
parent efa19a0b18
commit fffd56d7a6
11 changed files with 23 additions and 18 deletions

View File

@@ -35,7 +35,7 @@ class OsContext : public ReferenceTrackedObject<OsContext> {
uint32_t getNumSupportedDevices() const { return numSupportedDevices; }
DeviceBitfield getDeviceBitfield() const { return deviceBitfield; }
PreemptionMode getPreemptionMode() const { return preemptionMode; }
aub_stream::EngineType &getEngineType() { return engineType; }
const aub_stream::EngineType &getEngineType() const { return engineType; }
EngineUsage getEngineUsage() { return engineUsage; }
bool isRegular() const { return engineUsage == EngineUsage::Regular; }
bool isLowPriority() const { return engineUsage == EngineUsage::LowPriority; }