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
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
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"
|
2021-08-03 19:48:35 +08:00
|
|
|
#include "shared/source/os_interface/hw_info_config_bdw_and_later.inl"
|
2019-09-19 01:32:33 +08:00
|
|
|
|
|
|
|
namespace NEO {
|
2021-08-19 19:06:49 +08:00
|
|
|
constexpr static auto gfxProduct = IGFX_TIGERLAKE_LP;
|
|
|
|
|
|
|
|
#include "shared/source/gen12lp/os_agnostic_hw_info_config_gen12lp.inl"
|
2021-08-25 23:39:07 +08:00
|
|
|
#include "shared/source/gen12lp/os_agnostic_hw_info_config_tgllp.inl"
|
2019-09-19 01:32:33 +08:00
|
|
|
|
2021-08-04 08:04:09 +08:00
|
|
|
template <>
|
2021-08-25 23:39:07 +08:00
|
|
|
int HwInfoConfigHw<gfxProduct>::configureHardwareCustom(HardwareInfo *hwInfo, OSInterface *osIface) {
|
2019-09-19 01:32:33 +08:00
|
|
|
GT_SYSTEM_INFO *gtSystemInfo = &hwInfo->gtSystemInfo;
|
|
|
|
gtSystemInfo->SliceCount = 1;
|
2021-11-25 17:31:14 +08:00
|
|
|
hwInfo->featureTable.flags.ftrGpGpuMidThreadLevelPreempt = false;
|
2020-11-21 23:50:18 +08:00
|
|
|
enableBlitterOperationsSupport(hwInfo);
|
|
|
|
|
2019-09-19 01:32:33 +08:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2021-08-25 23:39:07 +08:00
|
|
|
template class HwInfoConfigHw<gfxProduct>;
|
2019-09-19 01:32:33 +08:00
|
|
|
} // namespace NEO
|