mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-27 07:44:16 +08:00
getCsrForLowPriority will always return a CSR with a compute engine regardless of the ordinal used. When a copy-only ordinal is used to create a command queue or command list, batch buffers are written using BCS style commands rather than CCS style. This caused BCS commands to be submitted to a low-priority compute engine which was invalid. This patch ensures a copy engine is selected when a copy-only ordinal is used even if ZE_COMMAND_QUEUE_PRIORITY_PRIORITY_LOW is specified. Related-To: LOCI-2980 Signed-off-by: Lisanna Dettwyler <lisanna.dettwyler@intel.com>