diff options
| author | Rob Clark <[email protected]> | 2023-08-23 14:54:56 -0700 |
|---|---|---|
| committer | Dmitry Baryshkov <[email protected]> | 2023-12-02 01:18:46 +0200 |
| commit | 70e67aaec2f4706df0006423eebca813b00f5840 (patch) | |
| tree | 76acee6cb47f7812cc3f38b4c2a1a8664e0dc4c7 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 63ee44540205d993854f143a5ab1d7d9e63ffcf1 (diff) | |
dma-buf/sw_sync: Add fence deadline support
This consists of simply storing the most recent deadline, and adding an
ioctl to retrieve the deadline. This can be used in conjunction with
the SET_DEADLINE ioctl on a fence fd for testing. Ie. create various
sw_sync fences, merge them into a fence-array, set deadline on the
fence-array and confirm that it is propagated properly to each fence.
v2: Switch UABI to express deadline as u64
v3: More verbose UAPI docs, show how to convert from timespec
v4: Better comments, track the soonest deadline, as a normal fence
implementation would, return an error if no deadline set.
Signed-off-by: Rob Clark <[email protected]>
Reviewed-by: Christian König <[email protected]>
Acked-by: Pekka Paalanen <[email protected]>
Signed-off-by: Dmitry Baryshkov <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions