/* * Copyright (C) 2019-2021 Intel Corporation * * SPDX-License-Identifier: MIT * */ #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_plus.inl" namespace NEO { namespace Gen12LPCommonFunctions { inline void adjustPlatformForProductFamily(PLATFORM &platform, GFXCORE_FAMILY newCoreFamily) { platform.eRenderCoreFamily = IGFX_GEN12LP_CORE; platform.eDisplayCoreFamily = IGFX_GEN12LP_CORE; } } // namespace Gen12LPCommonFunctions #ifdef SUPPORT_TGLLP template <> void HwInfoConfigHw::adjustPlatformForProductFamily(HardwareInfo *hwInfo) { Gen12LPCommonFunctions::adjustPlatformForProductFamily(hwInfo->platform, GFXCORE_FAMILY::IGFX_GEN12LP_CORE); } template class HwInfoConfigHw; #endif #ifdef SUPPORT_DG1 template <> void HwInfoConfigHw::adjustPlatformForProductFamily(HardwareInfo *hwInfo) { Gen12LPCommonFunctions::adjustPlatformForProductFamily(hwInfo->platform, GFXCORE_FAMILY::IGFX_GEN12LP_CORE); } template <> bool HwInfoConfigHw::isEvenContextCountRequired() { return true; } template class HwInfoConfigHw; #endif #ifdef SUPPORT_RKL template <> void HwInfoConfigHw::adjustPlatformForProductFamily(HardwareInfo *hwInfo) { Gen12LPCommonFunctions::adjustPlatformForProductFamily(hwInfo->platform, GFXCORE_FAMILY::IGFX_GEN12LP_CORE); } template class HwInfoConfigHw; #endif #ifdef SUPPORT_ADLS template <> void HwInfoConfigHw::adjustPlatformForProductFamily(HardwareInfo *hwInfo) { Gen12LPCommonFunctions::adjustPlatformForProductFamily(hwInfo->platform, GFXCORE_FAMILY::IGFX_GEN12LP_CORE); } template class HwInfoConfigHw; #endif } // namespace NEO