diff options
author | Danilo Krummrich <[email protected]> | 2023-08-04 20:23:48 +0200 |
---|---|---|
committer | Danilo Krummrich <[email protected]> | 2023-08-04 20:34:37 +0200 |
commit | f124eef76f855d9f3df8827cb1e166f96994042c (patch) | |
tree | b20774843f812b756f9e57a2598a35127fa6f55f /scripts/gdb/linux/utils.py | |
parent | 7f2a0b50b2b20308a19602b51c647566c62e144c (diff) |
drm/nouveau: fence: fail to emit when fence context is killed
The new VM_BIND UAPI implementation introduced in subsequent commits
will allow asynchronous jobs processing push buffers and emitting
fences.
If a fence context is killed, e.g. due to a channel fault, jobs which
are already queued for execution might still emit new fences. In such a
case a job would hang forever.
To fix that, fail to emit a new fence on a killed fence context with
-ENODEV to unblock the job.
Reviewed-by: Dave Airlie <[email protected]>
Signed-off-by: Danilo Krummrich <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions