Add AUB registry key to override MMIO offset value

Change-Id: Iac3bf9074e544a03e38fc437d7b21ea478d9cc5d
This commit is contained in:
Zdanowicz, Zbigniew
2018-11-01 22:28:20 -07:00
committed by sys_ocldev
parent 08676826c6
commit ce75767ca3
23 changed files with 206 additions and 81 deletions

View File

@@ -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;