fix: Crash on over memory allocation

- Add defer backing flag to gem create ioctl
- Make memory resident before lock

Related-To: NEO-13403

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
This commit is contained in:
Bellekallu Rajkiran
2025-02-03 10:27:00 +00:00
committed by Compute-Runtime-Automation
parent aab1113632
commit 3bef9f886a
9 changed files with 78 additions and 4 deletions

View File

@@ -236,6 +236,8 @@ class IoctlHelper {
virtual bool isTimestampsRefreshEnabled() { return false; }
virtual bool makeResidentBeforeLockNeeded() const { return false; }
protected:
Drm &drm;
ExternalCtx *externalCtx = nullptr;