fix: pass gmm helper to getDumpSurfaceInfo function

gmm may not exist for buffer allocation

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2023-07-03 09:44:27 +00:00
committed by Compute-Runtime-Automation
parent 39740da9d1
commit 30c5d8a681
13 changed files with 25 additions and 25 deletions

View File

@@ -88,7 +88,7 @@ template class AubHelperHw<Family>;
namespace AubAllocDump {
using namespace NEO;
template SurfaceInfo *getDumpSurfaceInfo<Family>(GraphicsAllocation &gfxAllocation, DumpFormat dumpFormat);
template SurfaceInfo *getDumpSurfaceInfo<Family>(GraphicsAllocation &gfxAllocation, const GmmHelper &gmmHelper, DumpFormat dumpFormat);
template uint32_t getImageSurfaceTypeFromGmmResourceType<Family>(GMM_RESOURCE_TYPE gmmResourceType);