diff options
| author | Daniel Vetter <[email protected]> | 2018-08-22 11:29:05 +0200 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2018-08-22 20:49:33 +0200 |
| commit | e296de926dfd39cf1ff9e5a41b56d4b3258a5a07 (patch) | |
| tree | 7badc085328e8441821b9a89c906cbc8c6024f05 /scripts/gcc-plugins/sancov_plugin.c | |
| parent | ad1a56f1bf2bd2394f98320baf9ad430f7b1534c (diff) | |
drm/syncobj: Drop add/remove_callback from driver interface
This is used for handling future fences. Currently no driver use
these, and I think given the new timeline fence proposed by KHR it
would be better to have a more abstract interface for future fences.
Could be something simple like a struct dma_future_fence plus a
function to add a callback or wait for the fence to materialize.
Then syncobj (and anything else really) could grow new functions to
expose these two drivers. Normal dma_fence would then keep the nice
guarantee that they will always signal (and through ordering, be
deadlock free). dma_future_fence would then be the tricky one.
This also fixes sphinx complaining about the kerneldoc.
Cc: Jason Ekstrand <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: Chris Wilson <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions