mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 23:33:20 +08:00
fix: Ensure after EU_CONTROL IOCTL, bitmask ptr is not null
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
1189d26ad2
commit
5c4be8df54
@@ -407,6 +407,7 @@ int DebugSessionLinuxXe::threadControlResumeAndStopped(const std::vector<EuThrea
|
||||
|
||||
if (euControl.cmd == DRM_XE_EUDEBUG_EU_CONTROL_CMD_STOPPED) {
|
||||
bitmaskOut = std::move(bitmask);
|
||||
UNRECOVERABLE_IF(bitmaskOut.get() == nullptr);
|
||||
bitmaskSizeOut = euControl.bitmask_size;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user