mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
Related-To: NEO-2388 Change-Id: I4da92efe7f875f409cd62519a31ed4509b55bda7 Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
25 lines
819 B
C++
25 lines
819 B
C++
/*
|
|
* Copyright (C) 2018-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "runtime/command_stream/command_stream_receiver_simulated_common_hw.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
|