feature: Add ULLS support for WDDM 2.3

Resolves: NEO-4843

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2024-01-29 13:10:58 +00:00
committed by Compute-Runtime-Automation
parent 1003594294
commit 64175d8bb6
8 changed files with 60 additions and 12 deletions

View File

@@ -86,10 +86,7 @@ void WddmDirectSubmission<GfxFamily, Dispatcher>::ensureRingCompletion() {
template <typename GfxFamily, typename Dispatcher>
bool WddmDirectSubmission<GfxFamily, Dispatcher>::allocateOsResources() {
// for now only WDDM2.0
UNRECOVERABLE_IF(wddm->getWddmVersion() != WddmVersion::wddm20);
bool ret = wddm->getWddmInterface()->createMonitoredFence(ringFence);
bool ret = wddm->getWddmInterface()->createMonitoredFenceForDirectSubmission(ringFence, *this->osContextWin);
ringFence.currentFenceValue = 1;
perfLogResidencyVariadicLog(wddm->getResidencyLogger(), "ULLS resource allocation finished with: %d\n", ret);
return ret;