diff options
author | Daniel Vetter <[email protected]> | 2018-05-04 16:10:34 +0200 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2018-07-02 10:16:33 +0200 |
commit | c701317a3eb8c012364a8d468f20eabf6df1ad77 (patch) | |
tree | 75d6d1bc3242dc492b94629e1da258b030c2bf80 /tools/perf/scripts/python | |
parent | 1b48b7202c43e41c9f05d39901567dbcad5dc307 (diff) |
dma-fence: Make ->enable_signaling optional
Many drivers have a trivial implementation for ->enable_signaling.
Let's make it optional by assuming that signalling is already
available when the callback isn't present.
v2: Don't do the trick to set the ENABLE_SIGNAL_BIT
unconditionally, it results in an expensive spinlock take for
everyone. Instead just check if the callback is present. Suggested by
Maarten.
Also move misplaced kerneldoc hunk to the right patch.
Cc: Maarten Lankhorst <[email protected]>
Reviewed-by: Christian König <[email protected]> (v1)
Reviewed-by: Maarten Lankhorst <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Cc: Sumit Semwal <[email protected]>
Cc: Gustavo Padovan <[email protected]>
Cc: [email protected]
Cc: [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