mirror of
https://github.com/intel/compute-runtime.git
synced 2025-11-15 10:14:56 +08:00
Enable eviction only when needed flag in wddm
Related-To: NEO-7179 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
02e4ddbdfa
commit
aced55243c
@@ -366,6 +366,7 @@ bool Wddm::evict(const D3DKMT_HANDLE *handleList, uint32_t numOfHandles, uint64_
|
||||
evict.hDevice = device;
|
||||
evict.NumAllocations = numOfHandles;
|
||||
evict.NumBytesToTrim = 0;
|
||||
evict.Flags.EvictOnlyIfNecessary = 1;
|
||||
|
||||
status = getGdi()->evict(&evict);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user