refactor: Remove ioctl helper for context destruction

Related-To: NEO-12952

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
This commit is contained in:
Slawomir Milczarek
2025-04-24 09:09:59 +00:00
committed by Compute-Runtime-Automation
parent 0941b1ac29
commit ab1f39f07f
3 changed files with 1 additions and 6 deletions

View File

@@ -174,7 +174,7 @@ uint64_t OsContextLinux::getOfflineDumpContextId(uint32_t deviceIndex) const {
OsContextLinux::~OsContextLinux() {
if (contextInitialized) {
for (auto drmContextId : drmContextIds) {
drm.getIoctlHelper()->destroyDrmContext(drm, *this, drmContextId);
drm.destroyDrmContext(drmContextId);
}
}
drmContextIds.clear();