Improving OS abstraction

Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
This commit is contained in:
Jaroslaw Chodor
2021-05-21 01:17:57 +02:00
committed by Compute-Runtime-Automation
parent 7bec5d5d3b
commit 0e9aa45e46
127 changed files with 558 additions and 606 deletions

View File

@@ -8,7 +8,7 @@
#include "shared/source/helpers/hw_info.h"
#include "shared/source/os_interface/hw_info_config.h"
#include "shared/source/os_interface/linux/drm_neo.h"
#include "shared/source/os_interface/linux/os_interface.h"
#include "shared/source/os_interface/os_interface.h"
namespace NEO {
@@ -18,7 +18,7 @@ int HwInfoConfigHw<IGFX_BROXTON>::configureHardwareCustom(HardwareInfo *hwInfo,
return 0;
}
Drm *drm = osIface->get()->getDrm();
Drm *drm = osIface->getDriverModel()->as<Drm>();
FeatureTable *featureTable = &hwInfo->featureTable;
GT_SYSTEM_INFO *gtSystemInfo = &hwInfo->gtSystemInfo;

View File

@@ -8,7 +8,7 @@
#include "shared/source/helpers/hw_info.h"
#include "shared/source/os_interface/hw_info_config.h"
#include "shared/source/os_interface/linux/drm_neo.h"
#include "shared/source/os_interface/linux/os_interface.h"
#include "shared/source/os_interface/os_interface.h"
namespace NEO {
@@ -18,7 +18,7 @@ int HwInfoConfigHw<IGFX_GEMINILAKE>::configureHardwareCustom(HardwareInfo *hwInf
return 0;
}
Drm *drm = osIface->get()->getDrm();
Drm *drm = osIface->getDriverModel()->as<Drm>();
FeatureTable *featureTable = &hwInfo->featureTable;
GT_SYSTEM_INFO *gtSystemInfo = &hwInfo->gtSystemInfo;