fix: disable passing FtrTile64Optimization to gmmlib

add debug key to control if the value should be passed

Related-To: NEO-10785
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2024-03-15 15:54:44 +00:00
committed by Compute-Runtime-Automation
parent f7342ff910
commit 1e1d675606
5 changed files with 84 additions and 1 deletions

View File

@@ -7,6 +7,7 @@
#include "shared/source/gmm_helper/client_context/gmm_client_context.h"
#include "shared/source/debug_settings/debug_settings_manager.h"
#include "shared/source/execution_environment/root_device_environment.h"
#include "shared/source/gmm_helper/client_context/gmm_handle_allocator.h"
#include "shared/source/gmm_helper/gmm_interface.h"
@@ -37,6 +38,9 @@ GmmClientContext::GmmClientContext(const RootDeviceEnvironment &rootDeviceEnviro
if (osInterface && osInterface->getDriverModel()) {
osInterface->getDriverModel()->setGmmInputArgs(&inArgs);
}
if (debugManager.flags.EnableFtrTile64Optimization.get() != -1) {
reinterpret_cast<_SKU_FEATURE_TABLE *>(inArgs.pSkuTable)->FtrTile64Optimization = debugManager.flags.EnableFtrTile64Optimization.get();
}
auto ret = GmmInterface::initialize(&inArgs, &outArgs);