diff options
author | Matthew Brost <matthew.brost@intel.com> | 2024-07-03 21:16:51 -0700 |
---|---|---|
committer | Matthew Brost <matthew.brost@intel.com> | 2024-07-03 22:28:06 -0700 |
commit | a708f6501c692551e3d4ea618c44021f436730d9 (patch) | |
tree | d1eb385b356602990c3a8c93e16e43894c159ff0 /drivers/gpu/drm/xe/xe_vm.c | |
parent | 282e6f846d8c3fcf36293f68f38d814645c3b852 (diff) | |
download | lwn-a708f6501c692551e3d4ea618c44021f436730d9.tar.gz lwn-a708f6501c692551e3d4ea618c44021f436730d9.zip |
drm/xe: Update PT layer with better error handling
Update PT layer so if a memory allocation for a PTE fails the error can
be propagated to the user without requiring the VM to be killed.
v5:
- change return value invalidation_fence_init to void (Matthew Auld)
v7:
- Invert i,j usage in two places (Matthew Auld)
- s/0/NULL (Matthew Auld)
- Don't ignore return value of xe_pt_new_shared (Matthew Auld)
- Don't check for NULL in xe_pt_entry (Matthew Auld)
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240704041652.272920-7-matthew.brost@intel.com
Diffstat (limited to 'drivers/gpu/drm/xe/xe_vm.c')
0 files changed, 0 insertions, 0 deletions