32 lines
1.0 KiB
C++
32 lines
1.0 KiB
C++
/*
|
|
* Copyright (C) 2021 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/gen12lp/helpers_gen12lp.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"
|
|
|
|
namespace NEO {
|
|
constexpr static auto gfxProduct = IGFX_TIGERLAKE_LP;
|
|
|
|
#include "shared/source/gen12lp/os_agnostic_hw_info_config_gen12lp.inl"
|
|
#include "shared/source/gen12lp/os_agnostic_hw_info_config_tgllp.inl"
|
|
|
|
template <>
|
|
void HwInfoConfigHw<gfxProduct>::setCapabilityCoherencyFlag(const HardwareInfo &hwInfo, bool &coherencyFlag) {
|
|
coherencyFlag = true;
|
|
HwHelper &hwHelper = HwHelper::get(hwInfo.platform.eRenderCoreFamily);
|
|
if (hwHelper.isWorkaroundRequired(REVISION_A0, REVISION_B, hwInfo)) {
|
|
//stepping A devices - turn off coherency
|
|
coherencyFlag = false;
|
|
}
|
|
}
|
|
|
|
template class HwInfoConfigHw<gfxProduct>;
|
|
} // namespace NEO
|