diff options
| author | Mika Kuoppala <[email protected]> | 2024-02-15 20:11:52 +0200 |
|---|---|---|
| committer | Thomas Hellström <[email protected]> | 2024-02-28 13:47:57 +0100 |
| commit | 158900ade92cce5ab85a06d618eb51e6c7ffb28a (patch) | |
| tree | 394b818fd94659fa4ac6eeda2ca55324620c2dc6 /tools/perf/scripts/python | |
| parent | 977e5b82e0901480bc201342d39f855fc0a2ef47 (diff) | |
drm/xe: Deny unbinds if uapi ufence pending
If user fence was provided for MAP in vm_bind_ioctl
and it has still not been signalled, deny UNMAP of said
vma with EBUSY as long as unsignalled fence exists.
This guarantees that MAP vs UNMAP sequences won't
escape under the radar if we ever want to track the
client's state wrt to completed and accessible MAPs.
By means of intercepting the ufence release signalling.
v2: find ufence with num_fences > 1 (Matt)
v3: careful on clearing vma ufence (Matt)
Link: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/1159
Cc: Thomas Hellström <[email protected]>
Cc: Matthew Brost <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Signed-off-by: Mika Kuoppala <[email protected]>
Reviewed-by: Matthew Brost <[email protected]>
Signed-off-by: Thomas Hellström <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions