mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
build: add clang-tidy restriction for Enum case
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
590418a588
commit
a4888b39c6
@@ -16,6 +16,9 @@ namespace Sysman {
|
||||
class FirmwareUtil;
|
||||
struct OsSysman;
|
||||
|
||||
static constexpr uint8_t eccStateDisable = 0;
|
||||
static constexpr uint8_t eccStateEnable = 1;
|
||||
static constexpr uint8_t eccStateNone = 0xFF;
|
||||
class EccImp : public Ecc, NEO::NonCopyableOrMovableClass {
|
||||
public:
|
||||
void init() override {}
|
||||
@@ -31,12 +34,6 @@ class EccImp : public Ecc, NEO::NonCopyableOrMovableClass {
|
||||
OsSysman *pOsSysman = nullptr;
|
||||
FirmwareUtil *pFwInterface = nullptr;
|
||||
|
||||
enum eccState : uint8_t {
|
||||
eccStateDisable = 0,
|
||||
eccStateEnable = 1,
|
||||
eccStateNone = 0xFF
|
||||
};
|
||||
|
||||
zes_device_ecc_state_t getEccState(uint8_t state);
|
||||
static FirmwareUtil *getFirmwareUtilInterface(OsSysman *pOsSysman);
|
||||
ze_result_t getEccFwUtilInterface(FirmwareUtil *&pFwUtil);
|
||||
|
||||
Reference in New Issue
Block a user