2019-09-18 19:32:33 +02:00
|
|
|
/*
|
2023-02-08 10:14:15 +00:00
|
|
|
* Copyright (C) 2021-2023 Intel Corporation
|
2019-09-18 19:32:33 +02:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
2022-08-23 04:02:33 +00:00
|
|
|
#include "shared/source/gen12lp/hw_cmds_tgllp.h"
|
2023-02-08 10:14:15 +00:00
|
|
|
#include "shared/source/gen12lp/hw_info_tgllp.h"
|
2020-02-23 22:44:01 +01:00
|
|
|
#include "shared/source/helpers/hw_info.h"
|
|
|
|
|
#include "shared/source/os_interface/hw_info_config.h"
|
2021-08-04 00:04:09 +00:00
|
|
|
#include "shared/source/os_interface/hw_info_config.inl"
|
2021-08-03 11:48:35 +00:00
|
|
|
#include "shared/source/os_interface/hw_info_config_bdw_and_later.inl"
|
2019-09-18 19:32:33 +02:00
|
|
|
|
2022-06-20 12:16:05 +00:00
|
|
|
#include "platforms.h"
|
|
|
|
|
|
2021-08-19 11:06:49 +00:00
|
|
|
constexpr static auto gfxProduct = IGFX_TIGERLAKE_LP;
|
|
|
|
|
|
|
|
|
|
#include "shared/source/gen12lp/os_agnostic_hw_info_config_gen12lp.inl"
|
2022-03-10 17:27:38 +00:00
|
|
|
#include "shared/source/gen12lp/tgllp/os_agnostic_hw_info_config_tgllp.inl"
|
2019-09-18 19:32:33 +02:00
|
|
|
|
2022-11-16 12:14:49 +00:00
|
|
|
namespace NEO {
|
|
|
|
|
|
2021-08-04 00:04:09 +00:00
|
|
|
template <>
|
2022-12-12 16:43:41 +00:00
|
|
|
int ProductHelperHw<gfxProduct>::configureHardwareCustom(HardwareInfo *hwInfo, OSInterface *osIface) const {
|
2019-09-18 19:32:33 +02:00
|
|
|
GT_SYSTEM_INFO *gtSystemInfo = &hwInfo->gtSystemInfo;
|
|
|
|
|
gtSystemInfo->SliceCount = 1;
|
2021-11-25 09:31:14 +00:00
|
|
|
hwInfo->featureTable.flags.ftrGpGpuMidThreadLevelPreempt = false;
|
2020-11-21 15:50:18 +00:00
|
|
|
enableBlitterOperationsSupport(hwInfo);
|
|
|
|
|
|
2019-09-18 19:32:33 +02:00
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
|
2022-12-12 16:43:41 +00:00
|
|
|
template class ProductHelperHw<gfxProduct>;
|
2019-09-18 19:32:33 +02:00
|
|
|
} // namespace NEO
|