aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJouni Högander <[email protected]>2023-09-01 12:34:59 +0300
committerJouni Högander <[email protected]>2023-09-04 12:04:07 +0300
commit40320844ca8bda4def0f04d2bd8c2022c867ed86 (patch)
tree6aea1d5b78848f8b8334e40f2985444dce2633ee /tools/perf/scripts/python
parent35a97f56d6ccf1870e666fb6efa12a7ec201b9e4 (diff)
drm/i915: Add new frontbuffer tracking interface to queue flush
We want to wait dma fences in dirtyfb ioctl. As we don't want to make dirtyfb ioctl as blocking call we need to use dma_fence_add_callback. Callback used for dma_fence_add_callback is called from atomic context. Due to this we need to add a new frontbuffer tracking interface to queue flush. v3: - Check schedule work success rather than work being pending - Init flush work when frontbuffer struct is initialized v2: Check if flush work is already pending Signed-off-by: Jouni Högander <[email protected]> Reviewed-by: Ville Syrjälä <[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