mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 08:53:55 +08:00
refactor: correct naming of DrmParam enum values
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9024e4a548
commit
2eba5b35e4
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020-2022 Intel Corporation
|
||||
* Copyright (C) 2020-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -15,11 +15,11 @@ namespace NEO {
|
||||
|
||||
DrmParam DrmEngineMapper::engineNodeMap(aub_stream::EngineType engineType) {
|
||||
if (EngineHelpers::isCcs(engineType)) {
|
||||
return DrmParam::ExecDefault;
|
||||
return DrmParam::execDefault;
|
||||
} else if (aub_stream::ENGINE_BCS == engineType || EngineHelpers::isLinkBcs(engineType)) {
|
||||
return DrmParam::ExecBlt;
|
||||
return DrmParam::execBlt;
|
||||
}
|
||||
UNRECOVERABLE_IF(engineType != aub_stream::ENGINE_RCS && engineType != aub_stream::ENGINE_CCCS);
|
||||
return DrmParam::ExecRender;
|
||||
return DrmParam::execRender;
|
||||
}
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user