Additional method to disable compression

Resolves: NEO-5828

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2021-05-10 16:03:59 +00:00
committed by Compute-Runtime-Automation
parent 14bc9fb0bf
commit 058679b5c2
5 changed files with 16 additions and 7 deletions

View File

@@ -28,6 +28,7 @@ namespace NEO {
class GmmHelper;
class GraphicsAllocation;
class TagAllocatorBase;
class Gmm;
struct AllocationData;
struct AllocationProperties;
struct EngineControl;
@@ -153,6 +154,7 @@ class HwHelper {
size_t initialTagCount, CommandStreamReceiverType csrType,
DeviceBitfield deviceBitfield) const = 0;
virtual size_t getTimestampPacketAllocatorAlignment() const = 0;
virtual void applyAdditionalCompressionSettings(Gmm &gmm, bool isNotCompressed) const = 0;
static uint32_t getSubDevicesCount(const HardwareInfo *pHwInfo);
static uint32_t getEnginesCount(const HardwareInfo &hwInfo);
@@ -381,6 +383,8 @@ class HwHelperHw : public HwHelper {
DeviceBitfield deviceBitfield) const override;
size_t getTimestampPacketAllocatorAlignment() const override;
void applyAdditionalCompressionSettings(Gmm &gmm, bool isNotCompressed) const override;
protected:
LocalMemoryAccessMode getDefaultLocalMemoryAccessMode(const HardwareInfo &hwInfo) const override;