mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 02:18:05 +08:00
Add AUB registry key to override MMIO offset value
Change-Id: Iac3bf9074e544a03e38fc437d7b21ea478d9cc5d
This commit is contained in:
committed by
sys_ocldev
parent
08676826c6
commit
ce75767ca3
@@ -15,6 +15,8 @@
|
||||
|
||||
namespace OCLRT {
|
||||
|
||||
class TbxStream;
|
||||
|
||||
class TbxMemoryManager : public OsAgnosticMemoryManager {
|
||||
public:
|
||||
TbxMemoryManager(bool enable64kbPages, bool enableLocalMemory, ExecutionEnvironment &executionEnvironment) : OsAgnosticMemoryManager(enable64kbPages, enableLocalMemory, executionEnvironment) {}
|
||||
@@ -30,6 +32,9 @@ class TbxCommandStreamReceiverHw : public CommandStreamReceiverSimulatedHw<GfxFa
|
||||
typedef typename AUB::MiContextDescriptorReg MiContextDescriptorReg;
|
||||
|
||||
public:
|
||||
using CommandStreamReceiverSimulatedCommonHw<GfxFamily>::initAdditionalMMIO;
|
||||
using CommandStreamReceiverSimulatedCommonHw<GfxFamily>::stream;
|
||||
|
||||
FlushStamp flush(BatchBuffer &batchBuffer, EngineType engineType, ResidencyContainer &allocationsForResidency, OsContext &osContext) override;
|
||||
void makeCoherent(GraphicsAllocation &gfxAllocation) override;
|
||||
|
||||
@@ -73,7 +78,8 @@ class TbxCommandStreamReceiverHw : public CommandStreamReceiverSimulatedHw<GfxFa
|
||||
void getGTTData(void *memory, AubGTTData &data);
|
||||
uint32_t getMemoryBankForGtt() const;
|
||||
|
||||
TbxCommandStreamReceiver::TbxStream stream;
|
||||
TbxStream tbxStream;
|
||||
|
||||
uint32_t aubDeviceId;
|
||||
bool streamInitialized = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user