Register trimCallback with WddmResidencyController as Context

Change-Id: Ibc34aac17e79df3a3096c29c34506039e2c5bdcc
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
Maciej Dziuban
2018-10-30 14:40:02 +01:00
committed by sys_ocldev
parent 5336e87590
commit 42b2ed6a90
11 changed files with 56 additions and 55 deletions

View File

@@ -79,8 +79,6 @@ class WddmMemoryManager : public MemoryManager {
AlignedMallocRestrictions *getAlignedMallocRestrictions() override;
protected:
VOID *trimCallbackHandle = nullptr;
GraphicsAllocation *createAllocationFromHandle(osHandle handle, bool requireSpecificBitness, bool ntHandle);
static bool validateAllocation(WddmAllocation *alloc);
bool createWddmAllocation(WddmAllocation *allocation, AllocationOrigin origin);