summaryrefslogtreecommitdiff
path: root/lang/intel-compute-runtime/files/patch-no-blitter
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lang/intel-compute-runtime/files/patch-no-blitter20
1 files changed, 10 insertions, 10 deletions
diff --git a/lang/intel-compute-runtime/files/patch-no-blitter b/lang/intel-compute-runtime/files/patch-no-blitter
index 9fa59d0f9c03..ca34842f0132 100644
--- a/lang/intel-compute-runtime/files/patch-no-blitter
+++ b/lang/intel-compute-runtime/files/patch-no-blitter
@@ -23,15 +23,15 @@ frame #4: 0x000000000020df59 ze_peak`L0Context::init_xe(this=0x00007fffffffde70)
185 }
186 if (verbose)
---- level_zero/core/source/device/device_imp.cpp.orig 2020-04-11 07:41:07 UTC
-+++ level_zero/core/source/device/device_imp.cpp
-@@ -725,9 +725,7 @@ ze_result_t DeviceImp::isCreatedCommandListCopyOnly(co
- auto hwInfo = neoDevice->getHardwareInfo();
- if (hwInfo.capabilityTable.blitterOperationsSupported) {
- *useBliter = true;
-- return ZE_RESULT_SUCCESS;
+--- level_zero/core/source/device/device_imp.h.orig 2020-04-17 18:43:38 UTC
++++ level_zero/core/source/device/device_imp.h
+@@ -99,9 +99,7 @@ struct DeviceImp : public Device {
+ auto hwInfo = neoDevice->getHardwareInfo();
+ if (hwInfo.capabilityTable.blitterOperationsSupported) {
+ *useBliter = NEO::DebugManager.flags.EnableCopyOnlyCommandListsAndCommandQueues.get();
+- return ZE_RESULT_SUCCESS;
+ }
+- return ZE_RESULT_ERROR_INVALID_ENUMERATION;
}
-- return ZE_RESULT_ERROR_INVALID_ENUMERATION;
+ return ZE_RESULT_SUCCESS;
}
- return ZE_RESULT_SUCCESS;
- }