2019-09-19 01:32:33 +08:00
|
|
|
/*
|
2020-01-31 21:35:46 +08:00
|
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
2019-09-19 01:32:33 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2020-02-24 01:46:50 +08:00
|
|
|
#include "helpers/hw_info.h"
|
|
|
|
#include "os_interface/hw_info_config.h"
|
2019-09-19 01:32:33 +08:00
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
|
|
|
|
template <>
|
|
|
|
int HwInfoConfigHw<IGFX_TIGERLAKE_LP>::configureHardwareCustom(HardwareInfo *hwInfo, OSInterface *osIface) {
|
2020-01-16 20:01:18 +08:00
|
|
|
hwInfo->capabilityTable.ftrRenderCompressedImages = hwInfo->featureTable.ftrE2ECompression;
|
|
|
|
hwInfo->capabilityTable.ftrRenderCompressedBuffers = hwInfo->featureTable.ftrE2ECompression;
|
|
|
|
|
2019-09-19 01:32:33 +08:00
|
|
|
if (nullptr == osIface) {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
GT_SYSTEM_INFO *gtSystemInfo = &hwInfo->gtSystemInfo;
|
|
|
|
gtSystemInfo->SliceCount = 1;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
template class HwInfoConfigHw<IGFX_TIGERLAKE_LP>;
|
|
|
|
} // namespace NEO
|