diff options
author | Matthew Brost <[email protected]> | 2024-06-25 17:41:37 -0700 |
---|---|---|
committer | Matthew Brost <[email protected]> | 2024-07-03 15:27:50 -0700 |
commit | 627c961d672d3304564455ba471f5e4405170eec (patch) | |
tree | 83822e87c75c619a266e1ba636996b9fdf05efb0 /scripts/gdb/linux/timerlist.py | |
parent | 7c0389c615b5c6aef1b0e38e30db759b3cbff885 (diff) |
drm/xe: Add timeout to preempt fences
To adhere to dma fencing rules that fences must signal within a
reasonable amount of time, add a 5 second timeout to preempt fences. If
this timeout occurs, kill the associated VM as this fatal to the VM.
v2:
- Add comment for smp_wmb (Checkpatch)
- Fix kernel doc typo (Inspection)
- Add comment for killed check (Niranjana)
v3:
- Drop smp_wmb (Matthew Auld)
- Don't take vm->lock in preempt fence worker (Matthew Auld)
- Drop RB given changes to patch
v4:
- Add WRITE/READ_ONCE (Niranjana)
- Don't export xe_vm_kill (Niranjana)
Cc: Matthew Auld <[email protected]>
Cc: Niranjana Vishwanathapura <[email protected]>
Signed-off-by: Matthew Brost <[email protected]>
Tested-by: Stuart Summers <[email protected]>
Reviewed-by: Niranjana Vishwanathapura <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions