2019-01-10 15:36:57 +01:00
|
|
|
/*
|
2023-02-03 12:25:43 +00:00
|
|
|
* Copyright (C) 2021-2023 Intel Corporation
|
2019-01-10 15:36:57 +01:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2022-08-23 04:02:33 +00:00
|
|
|
#include "shared/source/gen11/hw_cmds_icllp.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"
|
2023-03-07 12:19:36 +00:00
|
|
|
#include "shared/source/os_interface/product_helper_bdw_and_later.inl"
|
2019-01-10 15:36:57 +01:00
|
|
|
|
2022-06-20 12:16:05 +00:00
|
|
|
#include "platforms.h"
|
|
|
|
|
2021-09-23 15:08:41 +00:00
|
|
|
constexpr static auto gfxProduct = IGFX_ICELAKE_LP;
|
2023-02-03 12:25:43 +00:00
|
|
|
#include "shared/source/gen11/icllp/os_agnostic_product_helper_icllp.inl"
|
2022-11-16 12:14:49 +00:00
|
|
|
namespace NEO {
|
2019-01-10 15:36:57 +01:00
|
|
|
|
|
|
|
template <>
|
2022-12-12 16:43:41 +00:00
|
|
|
int ProductHelperHw<gfxProduct>::configureHardwareCustom(HardwareInfo *hwInfo, OSInterface *osIface) const {
|
2019-04-09 13:37:17 +02:00
|
|
|
if (nullptr == osIface) {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2019-05-08 16:00:24 +02:00
|
|
|
GT_SYSTEM_INFO *gtSystemInfo = &hwInfo->gtSystemInfo;
|
2019-01-10 15:36:57 +01:00
|
|
|
|
2019-05-08 16:00:24 +02:00
|
|
|
gtSystemInfo->SliceCount = 1;
|
2019-01-10 15:36:57 +01:00
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2022-12-12 16:43:41 +00:00
|
|
|
template class ProductHelperHw<gfxProduct>;
|
2019-01-10 15:36:57 +01:00
|
|
|
} // namespace NEO
|