mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
Change-Id: Ide3cede86faa397d4df84a38f0f8a79c3273c266 Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com> Related-To: NEO-3016
25 lines
828 B
C++
25 lines
828 B
C++
/*
|
|
* Copyright (C) 2018-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "runtime/command_stream/command_stream_receiver_simulated_common_hw_bdw_plus.inl"
|
|
|
|
namespace NEO {
|
|
typedef ICLFamily Family;
|
|
|
|
template <>
|
|
void CommandStreamReceiverSimulatedCommonHw<Family>::submitLRCA(const MiContextDescriptorReg &contextDescriptor) {
|
|
auto mmioBase = getCsTraits(osContext->getEngineType()).mmioBase;
|
|
stream->writeMMIO(AubMemDump::computeRegisterOffset(mmioBase, 0x2510), contextDescriptor.ulData[0]);
|
|
stream->writeMMIO(AubMemDump::computeRegisterOffset(mmioBase, 0x2514), contextDescriptor.ulData[1]);
|
|
|
|
// Load our new exec list
|
|
stream->writeMMIO(AubMemDump::computeRegisterOffset(mmioBase, 0x2550), 1);
|
|
}
|
|
|
|
template class CommandStreamReceiverSimulatedCommonHw<Family>;
|
|
} // namespace NEO
|