2021-07-28 22:45:43 +08:00
|
|
|
/*
|
2025-01-22 21:10:44 +08:00
|
|
|
* Copyright (C) 2021-2025 Intel Corporation
|
2021-07-28 22:45:43 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2022-08-23 12:02:33 +08:00
|
|
|
#include "shared/source/gen12lp/hw_cmds_adlp.h"
|
2023-02-08 18:14:15 +08:00
|
|
|
#include "shared/source/gen12lp/hw_info_adlp.h"
|
2021-08-25 23:39:07 +08:00
|
|
|
#include "shared/source/helpers/hw_info.h"
|
2022-03-26 05:04:08 +08:00
|
|
|
#include "shared/source/helpers/pipeline_select_args.h"
|
2021-08-31 23:48:56 +08:00
|
|
|
#include "shared/source/helpers/pipeline_select_helper.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"
|
2025-03-25 02:42:04 +08:00
|
|
|
#include "shared/source/os_interface/product_helper_before_xe_hpg.inl"
|
2021-07-28 22:45:43 +08:00
|
|
|
|
2021-08-19 19:06:49 +08:00
|
|
|
constexpr static auto gfxProduct = IGFX_ALDERLAKE_P;
|
|
|
|
|
2023-02-03 20:25:43 +08:00
|
|
|
#include "shared/source/gen12lp/adlp/os_agnostic_product_helper_adlp.inl"
|
|
|
|
#include "shared/source/gen12lp/os_agnostic_product_helper_gen12lp.inl"
|
2022-11-16 20:14:49 +08:00
|
|
|
namespace NEO {
|
2021-07-28 22:45:43 +08:00
|
|
|
|
|
|
|
template <>
|
2022-12-13 00:43:41 +08:00
|
|
|
int ProductHelperHw<gfxProduct>::configureHardwareCustom(HardwareInfo *hwInfo, OSInterface *osIface) const {
|
2021-07-28 22:45:43 +08:00
|
|
|
GT_SYSTEM_INFO *gtSystemInfo = &hwInfo->gtSystemInfo;
|
|
|
|
gtSystemInfo->SliceCount = 1;
|
2023-01-02 19:52:22 +08:00
|
|
|
|
2021-07-28 22:45:43 +08:00
|
|
|
enableBlitterOperationsSupport(hwInfo);
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2022-12-13 00:43:41 +08:00
|
|
|
template class ProductHelperHw<gfxProduct>;
|
2021-07-28 22:45:43 +08:00
|
|
|
} // namespace NEO
|