From 60787ef5863f13a18e136a7d9f017e474aeaf72c Mon Sep 17 00:00:00 2001 From: "Milczarek, Slawomir" Date: Sun, 17 Oct 2021 20:56:12 +0000 Subject: [PATCH] Disable render compressed buffers on xehp Signed-off-by: Milczarek, Slawomir --- .../test/unit_test/xe_hp_core/xehp/test_hw_info_config_xehp.inl | 2 +- shared/source/os_interface/hw_info_config_xehp_and_later.inl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opencl/test/unit_test/xe_hp_core/xehp/test_hw_info_config_xehp.inl b/opencl/test/unit_test/xe_hp_core/xehp/test_hw_info_config_xehp.inl index 76c7dd7eee..7b67c668ba 100644 --- a/opencl/test/unit_test/xe_hp_core/xehp/test_hw_info_config_xehp.inl +++ b/opencl/test/unit_test/xe_hp_core/xehp/test_hw_info_config_xehp.inl @@ -45,7 +45,7 @@ XEHPTEST_F(XeHPHwInfoConfig, givenXeHPMultiConfigWhenConfigureHardwareCustomIsCa hwInfo.gtSystemInfo.EUCount = 512u; hwInfoConfig->configureHardwareCustom(&hwInfo, nullptr); - EXPECT_TRUE(hwInfo.capabilityTable.ftrRenderCompressedBuffers); + EXPECT_FALSE(hwInfo.capabilityTable.ftrRenderCompressedBuffers); EXPECT_TRUE(hwInfo.capabilityTable.ftrRenderCompressedImages); } diff --git a/shared/source/os_interface/hw_info_config_xehp_and_later.inl b/shared/source/os_interface/hw_info_config_xehp_and_later.inl index fa5a9835f1..2f648c36b7 100644 --- a/shared/source/os_interface/hw_info_config_xehp_and_later.inl +++ b/shared/source/os_interface/hw_info_config_xehp_and_later.inl @@ -21,7 +21,7 @@ uint64_t HwInfoConfigHw::getCrossDeviceSharedMemCapabilities() { template void HwInfoConfigHw::enableRenderCompression(HardwareInfo *hwInfo) { hwInfo->capabilityTable.ftrRenderCompressedImages = hwInfo->featureTable.ftrE2ECompression; - hwInfo->capabilityTable.ftrRenderCompressedBuffers = hwInfo->featureTable.ftrE2ECompression; + hwInfo->capabilityTable.ftrRenderCompressedBuffers = false; } template