Register trim callback after creating monitored fence

Change-Id: Ib0510a0aed180c7bfe883a60632fd642664e1085
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2018-11-14 14:35:45 +01:00
committed by sys_ocldev
parent 5b316d142c
commit 1a89a0103a
8 changed files with 40 additions and 4 deletions

View File

@@ -24,6 +24,7 @@ OsContextWin::OsContextImpl(Wddm &wddm, uint32_t osContextId) : wddm(wddm), resi
}
}
initialized = wddmInterface->createMonitoredFence(this->residencyController);
this->residencyController.registerCallback();
};
OsContextWin::~OsContextImpl() {
wddm.getWddmInterface()->destroyHwQueue(hwQueueHandle);