2019-06-27 16:28:03 +08:00
|
|
|
/*
|
2023-02-03 20:25:43 +08:00
|
|
|
* Copyright (C) 2021-2023 Intel Corporation
|
2019-06-27 16:28:03 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2022-08-23 12:02:33 +08:00
|
|
|
#include "shared/source/gen11/hw_cmds_ehl.h"
|
2020-02-24 05:44:01 +08:00
|
|
|
#include "shared/source/helpers/hw_info.h"
|
2023-03-10 20:28:11 +08:00
|
|
|
#include "shared/source/os_interface/product_helper.h"
|
|
|
|
#include "shared/source/os_interface/product_helper.inl"
|
2023-03-07 20:19:36 +08:00
|
|
|
#include "shared/source/os_interface/product_helper_bdw_and_later.inl"
|
2019-06-27 16:28:03 +08:00
|
|
|
|
2022-03-11 01:27:38 +08:00
|
|
|
constexpr static auto gfxProduct = IGFX_ELKHARTLAKE;
|
|
|
|
|
2022-11-16 20:14:49 +08:00
|
|
|
namespace NEO {
|
2019-06-27 16:28:03 +08:00
|
|
|
|
|
|
|
template <>
|
2022-12-13 00:43:41 +08:00
|
|
|
int ProductHelperHw<gfxProduct>::configureHardwareCustom(HardwareInfo *hwInfo, OSInterface *osIface) const {
|
2019-06-27 16:28:03 +08:00
|
|
|
if (nullptr == osIface) {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
GT_SYSTEM_INFO *gtSystemInfo = &hwInfo->gtSystemInfo;
|
|
|
|
|
|
|
|
gtSystemInfo->SliceCount = 1;
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2022-12-13 00:43:41 +08:00
|
|
|
template class ProductHelperHw<gfxProduct>;
|
2019-06-27 16:28:03 +08:00
|
|
|
} // namespace NEO
|