mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Improve aub/tbx extra mmio list handling
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a5f832edb5
commit
33ec9b258a
@@ -17,6 +17,7 @@
|
||||
|
||||
#include "engine_group_types.h"
|
||||
#include "hw_cmds.h"
|
||||
#include "third_party/aub_stream/headers/aubstream.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
@@ -129,6 +130,7 @@ class HwHelper {
|
||||
virtual bool additionalKernelExecInfoSupported(const HardwareInfo &hwInfo) const = 0;
|
||||
virtual bool isCpuImageTransferPreferred(const HardwareInfo &hwInfo) const = 0;
|
||||
virtual bool isKmdMigrationSupported(const HardwareInfo &hwInfo) const = 0;
|
||||
virtual aub_stream::MMIOList getExtraMmioList() const = 0;
|
||||
|
||||
static uint32_t getSubDevicesCount(const HardwareInfo *pHwInfo);
|
||||
static uint32_t getEnginesCount(const HardwareInfo &hwInfo);
|
||||
@@ -328,6 +330,8 @@ class HwHelperHw : public HwHelper {
|
||||
|
||||
bool isCpuImageTransferPreferred(const HardwareInfo &hwInfo) const override;
|
||||
|
||||
aub_stream::MMIOList getExtraMmioList() const override;
|
||||
|
||||
protected:
|
||||
LocalMemoryAccessMode getDefaultLocalMemoryAccessMode(const HardwareInfo &hwInfo) const override;
|
||||
|
||||
|
||||
@@ -98,6 +98,11 @@ uint64_t HwHelperHw<GfxFamily>::getGpuTimeStampInNS(uint64_t timeStamp, double f
|
||||
return static_cast<uint64_t>(timeStamp * frequency);
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
aub_stream::MMIOList HwHelperHw<GfxFamily>::getExtraMmioList() const {
|
||||
return {};
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
inline void MemorySynchronizationCommands<GfxFamily>::addPipeControlWA(LinearStream &commandStream, uint64_t gpuAddress, const HardwareInfo &hwInfo) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user