mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
refactor: correct naming of enum class constants 8/n
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
269009c299
commit
dd1b9d6abc
@@ -38,7 +38,7 @@ ze_result_t LinuxSysmanImp::init() {
|
||||
}
|
||||
|
||||
NEO::OSInterface &osInterface = *pParentSysmanDeviceImp->getRootDeviceEnvironment().osInterface;
|
||||
if (osInterface.getDriverModel()->getDriverModelType() != NEO::DriverModelType::DRM) {
|
||||
if (osInterface.getDriverModel()->getDriverModelType() != NEO::DriverModelType::drm) {
|
||||
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ ze_result_t WddmSysmanImp::init() {
|
||||
NEO::OSInterface &osInterface = *(pParentSysmanDeviceImp->getRootDeviceEnvironment()).osInterface;
|
||||
auto driverModel = osInterface.getDriverModel();
|
||||
|
||||
if (driverModel && (driverModel->getDriverModelType() == NEO::DriverModelType::WDDM)) {
|
||||
if (driverModel && (driverModel->getDriverModelType() == NEO::DriverModelType::wddm)) {
|
||||
pWddm = driverModel->as<NEO::Wddm>();
|
||||
} else {
|
||||
return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE;
|
||||
|
||||
Reference in New Issue
Block a user