diff options
| author | Rob Clark <[email protected]> | 2023-08-23 21:54:56 +0000 |
|---|---|---|
| committer | Dmitry Baryshkov <[email protected]> | 2023-12-01 23:18:46 +0000 |
| commit | 70e67aaec2f4706df0006423eebca813b00f5840 (patch) | |
| tree | 76acee6cb47f7812cc3f38b4c2a1a8664e0dc4c7 /drivers/gpu/drm/drm_atomic_uapi.c | |
| parent | dma-buf/sync_file: Add SET_DEADLINE ioctl (diff) | |
| download | kernel-70e67aaec2f4706df0006423eebca813b00f5840.tar.gz kernel-70e67aaec2f4706df0006423eebca813b00f5840.zip | |
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 'drivers/gpu/drm/drm_atomic_uapi.c')
0 files changed, 0 insertions, 0 deletions
