mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

Change-Id: If1223f7dbc07b6a5275a642fac27a44b87a9f97c Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com> Related-To: NEO-3974
47 lines
1.3 KiB
C++
47 lines
1.3 KiB
C++
/*
|
|
* Copyright (C) 2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "unit_tests/gen12lp/special_ult_helper_gen12lp.h"
|
|
|
|
#include "core/helpers/hw_info.h"
|
|
|
|
namespace NEO {
|
|
|
|
bool SpecialUltHelperGen12lp::shouldCompressionBeEnabledAfterConfigureHardwareCustom(const HardwareInfo &hwInfo) {
|
|
return hwInfo.featureTable.ftrE2ECompression;
|
|
}
|
|
|
|
bool SpecialUltHelperGen12lp::additionalCoherencyCheck(PRODUCT_FAMILY productFamily, bool coherency) {
|
|
return false;
|
|
}
|
|
|
|
bool SpecialUltHelperGen12lp::shouldPerformimagePitchAlignment(PRODUCT_FAMILY productFamily) {
|
|
return true;
|
|
}
|
|
|
|
bool SpecialUltHelperGen12lp::shouldTestDefaultImplementationOfSetupHardwareCapabilities(PRODUCT_FAMILY productFamily) {
|
|
return true;
|
|
}
|
|
|
|
bool SpecialUltHelperGen12lp::isPipeControlWArequired(PRODUCT_FAMILY productFamily) {
|
|
return true;
|
|
}
|
|
|
|
bool SpecialUltHelperGen12lp::isPageTableManagerSupported(const HardwareInfo &hwInfo) {
|
|
return hwInfo.capabilityTable.ftrRenderCompressedBuffers || hwInfo.capabilityTable.ftrRenderCompressedImages;
|
|
}
|
|
|
|
bool SpecialUltHelperGen12lp::isRenderBufferCompressionPreferred(const HardwareInfo &hwInfo, const std::size_t size) {
|
|
return false;
|
|
}
|
|
|
|
bool SpecialUltHelperGen12lp::isAdditionalSurfaceStateParamForCompressionRequired(const HardwareInfo &hwInfo) {
|
|
return false;
|
|
}
|
|
|
|
} // namespace NEO
|