mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-11 16:45:25 +08:00
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:
committed by
Compute-Runtime-Automation
parent
1003594294
commit
64175d8bb6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user