Files
compute-runtime/shared/test/common/libult/gen12lp/special_ult_helper_gen12lp.cpp
Krzysztof Gibala 6e118bd98e Extend scope of Pipe Control WA for ADL platforms
Add Pipe Control command for Post Sync Operation

Related-To: NEO-7586, HSD-14014966230

Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2023-01-17 13:37:45 +01:00

29 lines
817 B
C++

/*
* Copyright (C) 2019-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/test/common/libult/gen12lp/special_ult_helper_gen12lp.h"
namespace NEO {
bool SpecialUltHelperGen12lp::additionalCoherencyCheck(PRODUCT_FAMILY productFamily, bool coherency) {
return productFamily == IGFX_DG1;
}
bool SpecialUltHelperGen12lp::isAdditionalCapabilityCoherencyFlagSettingRequired(PRODUCT_FAMILY productFamily) {
return productFamily == IGFX_TIGERLAKE_LP;
}
bool SpecialUltHelperGen12lp::shouldPerformimagePitchAlignment(PRODUCT_FAMILY productFamily) {
return productFamily == IGFX_TIGERLAKE_LP || productFamily == IGFX_DG1;
}
bool SpecialUltHelperGen12lp::isPipeControlWArequired(PRODUCT_FAMILY productFamily) {
return productFamily != IGFX_ROCKETLAKE;
}
} // namespace NEO