mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 23:56:39 +08:00
fix: remove not needed check for context id
Related-To: NEO-10496 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
8e6240ac70
commit
97a0b25162
@@ -984,10 +984,7 @@ int IoctlHelperXe::ioctl(DrmIoctl request, void *arg) {
|
||||
GemContextDestroy *d = static_cast<GemContextDestroy *>(arg);
|
||||
struct drm_xe_exec_queue_destroy destroy = {};
|
||||
destroy.exec_queue_id = d->contextId;
|
||||
if (d->contextId != 0xffffffff)
|
||||
ret = IoctlHelper::ioctl(request, &destroy);
|
||||
else
|
||||
ret = 0;
|
||||
ret = IoctlHelper::ioctl(request, &destroy);
|
||||
xeLog(" -> IoctlHelperXe::ioctl GemContextDestroryExt ctx=0x%x r=%d\n",
|
||||
d->contextId, ret);
|
||||
} break;
|
||||
|
||||
Reference in New Issue
Block a user