mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
Cleaned up files: shared/source/gen12lp/hw_cmds_base.h Related-To: NEO-5548 Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
36 lines
1.0 KiB
C++
36 lines
1.0 KiB
C++
/*
|
|
* Copyright (C) 2021-2023 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/gen12lp/hw_cmds_tgllp.h"
|
|
#include "shared/source/gen12lp/hw_info_tgllp.h"
|
|
#include "shared/source/helpers/hw_info.h"
|
|
#include "shared/source/os_interface/hw_info_config.h"
|
|
#include "shared/source/os_interface/hw_info_config.inl"
|
|
#include "shared/source/os_interface/hw_info_config_bdw_and_later.inl"
|
|
|
|
#include "platforms.h"
|
|
|
|
constexpr static auto gfxProduct = IGFX_TIGERLAKE_LP;
|
|
|
|
#include "shared/source/gen12lp/os_agnostic_hw_info_config_gen12lp.inl"
|
|
#include "shared/source/gen12lp/tgllp/os_agnostic_hw_info_config_tgllp.inl"
|
|
|
|
namespace NEO {
|
|
|
|
template <>
|
|
int ProductHelperHw<gfxProduct>::configureHardwareCustom(HardwareInfo *hwInfo, OSInterface *osIface) const {
|
|
GT_SYSTEM_INFO *gtSystemInfo = &hwInfo->gtSystemInfo;
|
|
gtSystemInfo->SliceCount = 1;
|
|
hwInfo->featureTable.flags.ftrGpGpuMidThreadLevelPreempt = false;
|
|
enableBlitterOperationsSupport(hwInfo);
|
|
|
|
return 0;
|
|
}
|
|
|
|
template class ProductHelperHw<gfxProduct>;
|
|
} // namespace NEO
|