Kernel source debugging support 1/n

- new patch token
- program debug compilation flag
- sip kernel new methods for querying bti and debug
surface size

Change-Id: Icaddd15f269c4b76efdf926f2e346aa61cbaae02
This commit is contained in:
Hoppe, Mateusz
2018-03-09 14:40:31 +01:00
committed by sys_ocldev
parent 0ef0d6fc52
commit cc6fa3d1e1
22 changed files with 356 additions and 5 deletions

View File

@@ -58,10 +58,22 @@ class SipKernel {
return type;
}
int32_t getDebugSurfaceBti() const {
return debugSurfaceBti;
}
size_t getDebugSurfaceSize() const {
return debugSurfaceSize;
}
static const size_t maxDbgSurfaceSize;
GraphicsAllocation *getSipAllocation() const;
protected:
SipKernelType type = SipKernelType::COUNT;
std::unique_ptr<Program> program;
int32_t debugSurfaceBti = -1;
size_t debugSurfaceSize = 0;
};
}