fix: initialize GPU VA for additional synchronization WA

Related-To: NEO-8072

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
This commit is contained in:
Igor Venevtsev
2023-07-31 11:57:53 +00:00
committed by Compute-Runtime-Automation
parent 22ab72ed3d
commit e2ad2e8db0
4 changed files with 42 additions and 4 deletions

View File

@@ -35,6 +35,12 @@ WddmDirectSubmission<GfxFamily, Dispatcher>::WddmDirectSubmission(const DirectSu
perfLogResidencyVariadicLog(wddm->getResidencyLogger(), "Starting Wddm ULLS. Placement ring buffer: %d semaphore %d\n",
DebugManager.flags.DirectSubmissionBufferPlacement.get(),
DebugManager.flags.DirectSubmissionSemaphorePlacement.get());
this->completionFenceAllocation = inputParams.completionFenceAllocation;
UNRECOVERABLE_IF(!this->completionFenceAllocation);
if (this->miMemFenceRequired) {
this->gpuVaForAdditionalSynchronizationWA = this->completionFenceAllocation->getGpuAddress() + 8u;
}
}
template <typename GfxFamily, typename Dispatcher>