2020-06-16 20:18:59 +08:00
|
|
|
/*
|
2021-03-10 02:02:59 +08:00
|
|
|
* Copyright (C) 2020-2021 Intel Corporation
|
2020-06-16 20:18:59 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "shared/source/helpers/hw_info.h"
|
|
|
|
#include "shared/source/os_interface/hw_info_config.h"
|
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
|
|
|
|
template <>
|
|
|
|
int HwInfoConfigHw<IGFX_DG1>::configureHardwareCustom(HardwareInfo *hwInfo, OSInterface *osIface) {
|
|
|
|
GT_SYSTEM_INFO *gtSystemInfo = &hwInfo->gtSystemInfo;
|
|
|
|
gtSystemInfo->SliceCount = 1;
|
|
|
|
|
2020-11-21 23:50:18 +08:00
|
|
|
enableBlitterOperationsSupport(hwInfo);
|
2020-06-16 20:18:59 +08:00
|
|
|
|
2020-11-21 23:50:18 +08:00
|
|
|
hwInfo->featureTable.ftrGpGpuMidThreadLevelPreempt = false;
|
2020-06-16 20:18:59 +08:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
template class HwInfoConfigHw<IGFX_DG1>;
|
|
|
|
} // namespace NEO
|