diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2021-12-13 15:46:59 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2021-12-13 19:31:19 +0100 |
commit | 5c4f9e3ae3f06d97453e18230dc55caacb0ea6fe (patch) | |
tree | d8a3a38d9242a763b4e5dbe7a9aad152cd5d1cf5 /src/android/jpeg/post_processor_jpeg.cpp | |
parent | a3122eeceafae4f37346ec40f24d20706473e962 (diff) |
test: fence: Signal fence once
The unit test associates a fence with a framebuffer and makes sure
the fence is correctly signalled.
Once a fence is correctly signalled, it is released by the core, and the
underlying file descriptor closed.
The unit test however tries to write on the fence file descriptor every
time the designated Request is queued, an error which is now visible
as the return value of the fence signalling write() is checked.
Fix that by associating a fence with a framebuffer only once.
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'src/android/jpeg/post_processor_jpeg.cpp')
0 files changed, 0 insertions, 0 deletions