mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-12 17:33:00 +08:00
Correct expected ioctl count in DrmMemoryManagerFixture
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
de2a4211c3
commit
a1cf7fb938
@@ -90,6 +90,10 @@ void DrmMemoryManagerFixture::tearDown() {
|
||||
mock->ioctl_expected.gemClose += enginesCount;
|
||||
mock->ioctl_expected.gemWait += enginesCount;
|
||||
}
|
||||
if (csr->getKernelArgsBufferAllocation()) {
|
||||
mock->ioctl_expected.gemClose += enginesCount;
|
||||
mock->ioctl_expected.gemWait += enginesCount;
|
||||
}
|
||||
mock->ioctl_expected.gemWait += additionalDestroyDeviceIoctls.gemWait.load();
|
||||
mock->ioctl_expected.gemClose += additionalDestroyDeviceIoctls.gemClose.load();
|
||||
delete device;
|
||||
|
||||
Reference in New Issue
Block a user