mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
Use correct engine group type when programming state base address
Command lists and their helper classes should use engine group type assigned to the particular command list to check if it is RCS group and not use default CSR class assigned to the device, since default and current in command list might be different. Related-To: NEO-5019 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
dda5b19859
commit
acac5ea0d5
@@ -53,11 +53,27 @@ class CommandEncodeStatesFixture : public DeviceFixture {
|
||||
false, // isCooperative
|
||||
false, // isHostScopeSignalEvent
|
||||
false, // isKernelUsingSystemAllocation
|
||||
false // isKernelDispatchedFromImmediateCmdList
|
||||
false, // isKernelDispatchedFromImmediateCmdList
|
||||
false // isRcs
|
||||
};
|
||||
|
||||
return args;
|
||||
}
|
||||
|
||||
template <typename FamilyType>
|
||||
EncodeStateBaseAddressArgs<FamilyType> createDefaultEncodeStateBaseAddressArgs(
|
||||
CommandContainer *container,
|
||||
typename FamilyType::STATE_BASE_ADDRESS &sbaCmd,
|
||||
uint32_t statelessMocs) {
|
||||
EncodeStateBaseAddressArgs<FamilyType> args = {
|
||||
container,
|
||||
sbaCmd,
|
||||
statelessMocs,
|
||||
false,
|
||||
false,
|
||||
false};
|
||||
return args;
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user