mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Move HardwareInfo ownership to ExecutionEnvironment [1/n]
Change-Id: I5e5b4cc45947a8841282c7d431fb69d9c397a2d4 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
b2aee82f41
commit
bb80d327c7
@@ -15,7 +15,7 @@ int HwInfoConfigHw<IGFX_BROADWELL>::configureHardwareCustom(HardwareInfo *hwInfo
|
||||
if (nullptr == osIface) {
|
||||
return 0;
|
||||
}
|
||||
GT_SYSTEM_INFO *pSysInfo = const_cast<GT_SYSTEM_INFO *>(hwInfo->pSysInfo);
|
||||
GT_SYSTEM_INFO *pSysInfo = &hwInfo->pSysInfo;
|
||||
|
||||
// There is no interface to read total slice count from drm/i915, so we
|
||||
// derive this from the number of EUs and subslices.
|
||||
@@ -26,8 +26,8 @@ int HwInfoConfigHw<IGFX_BROADWELL>::configureHardwareCustom(HardwareInfo *hwInfo
|
||||
pSysInfo->SliceCount = 1;
|
||||
}
|
||||
|
||||
if (hwInfo->pPlatform->usDeviceID == IBDW_GT3_HALO_MOBL_DEVICE_F0_ID ||
|
||||
hwInfo->pPlatform->usDeviceID == IBDW_GT3_SERV_DEVICE_F0_ID) {
|
||||
if (hwInfo->pPlatform.usDeviceID == IBDW_GT3_HALO_MOBL_DEVICE_F0_ID ||
|
||||
hwInfo->pPlatform.usDeviceID == IBDW_GT3_SERV_DEVICE_F0_ID) {
|
||||
pSysInfo->EdramSizeInKb = 128 * 1024;
|
||||
}
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user