summaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
authorMatthew Brost <matthew.brost@intel.com>2024-07-22 18:17:02 -0700
committerMatthew Brost <matthew.brost@intel.com>2024-07-23 08:03:57 -0700
commitc8a31ff6199f12ca65d73f1235117c1d9e6365a9 (patch)
treeb94803706ae3425d551b625a29d011ec83ec8879 /rust
parent649b93dbb902ae3237fddbe998eb1f4de1a14b71 (diff)
drm/xe: Return -ENOBUFS if a kmalloc fails which is tied to an array of binds
The size of an array of binds is directly tied to several kmalloc in the KMD, thus making these kmalloc more likely to fail. Return -ENOBUFS in the case of these failures. The expected UMD behavior upon returning -ENOBUFS is to split an array of binds into a series of single binds. v2: - Resend for CI v3: - Resend for CI Cc: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240723011702.1684013-1-matthew.brost@intel.com
Diffstat (limited to 'rust')
0 files changed, 0 insertions, 0 deletions