mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
Add tests for locking in trimResidency()
Change-Id: Iddbecedae9cf21a4e5232dcac5d145962623e7d6 Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
53b32bc6ba
commit
ef02827cd9
@@ -25,7 +25,7 @@ class WddmResidencyController {
|
||||
public:
|
||||
WddmResidencyController(Wddm &wddm, uint32_t osContextId);
|
||||
|
||||
std::unique_lock<SpinLock> acquireLock();
|
||||
MOCKABLE_VIRTUAL std::unique_lock<SpinLock> acquireLock();
|
||||
std::unique_lock<SpinLock> acquireTrimCallbackLock();
|
||||
|
||||
WddmAllocation *getTrimCandidateHead();
|
||||
|
||||
Reference in New Issue
Block a user