Fixed TBX with AUB dump mode without AubStream

Related-To: NEO-3150

Change-Id: I9ee7fc3c44f3021c61db7c27c01522cbe7d7445d
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
This commit is contained in:
Milczarek, Slawomir
2019-05-09 17:58:35 +02:00
committed by sys_ocldev
parent 0c9995d447
commit cc6a94b5b6
7 changed files with 35 additions and 6 deletions

View File

@@ -133,6 +133,8 @@ class GraphicsAllocation : public IDNode<GraphicsAllocation> {
void setAubWritable(bool writable) { aubInfo.aubWritable = writable; }
bool isAubWritable() const { return aubInfo.aubWritable; }
void setTbxWritable(bool writable) { aubInfo.tbxWritable = writable; }
bool isTbxWritable() const { return aubInfo.tbxWritable; }
void setAllocDumpable(bool dumpable) { aubInfo.allocDumpable = dumpable; }
bool isAllocDumpable() const { return aubInfo.allocDumpable; }
bool isMemObjectsAllocationWithWritableFlags() const { return aubInfo.memObjectsAllocationWithWritableFlags; }
@@ -210,6 +212,7 @@ class GraphicsAllocation : public IDNode<GraphicsAllocation> {
};
struct AubInfo {
bool aubWritable = true;
bool tbxWritable = true;
bool allocDumpable = false;
bool memObjectsAllocationWithWritableFlags = false;
};