2019-09-19 01:32:33 +08:00
|
|
|
/*
|
2021-08-04 08:04:09 +08:00
|
|
|
* Copyright (C) 2021 Intel Corporation
|
2019-09-19 01:32:33 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2021-08-04 08:04:09 +08:00
|
|
|
#include "shared/source/gen12lp/helpers_gen12lp.h"
|
2020-02-24 05:44:01 +08:00
|
|
|
#include "shared/source/helpers/hw_info.h"
|
|
|
|
#include "shared/source/os_interface/hw_info_config.h"
|
2021-08-04 08:04:09 +08:00
|
|
|
#include "shared/source/os_interface/hw_info_config.inl"
|
|
|
|
#include "shared/source/os_interface/hw_info_config_bdw_plus.inl"
|
2019-09-19 01:32:33 +08:00
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
|
2021-08-04 08:04:09 +08:00
|
|
|
template <>
|
|
|
|
void HwInfoConfigHw<IGFX_TIGERLAKE_LP>::adjustPlatformForProductFamily(HardwareInfo *hwInfo) {
|
|
|
|
Gen12LPHelpers::adjustPlatformForProductFamily(hwInfo->platform, GFXCORE_FAMILY::IGFX_GEN12LP_CORE);
|
|
|
|
}
|
|
|
|
|
2019-09-19 01:32:33 +08:00
|
|
|
template <>
|
|
|
|
int HwInfoConfigHw<IGFX_TIGERLAKE_LP>::configureHardwareCustom(HardwareInfo *hwInfo, OSInterface *osIface) {
|
|
|
|
GT_SYSTEM_INFO *gtSystemInfo = &hwInfo->gtSystemInfo;
|
|
|
|
gtSystemInfo->SliceCount = 1;
|
2020-06-18 20:24:59 +08:00
|
|
|
hwInfo->featureTable.ftrGpGpuMidThreadLevelPreempt = false;
|
2020-11-21 23:50:18 +08:00
|
|
|
enableBlitterOperationsSupport(hwInfo);
|
|
|
|
|
2019-09-19 01:32:33 +08:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
template class HwInfoConfigHw<IGFX_TIGERLAKE_LP>;
|
|
|
|
} // namespace NEO
|