summaryrefslogtreecommitdiff
path: root/tests/vc4_dmabuf_poll.c
AgeCommit message (Collapse)AuthorFilesLines
2021-03-12tests/vc4_dmabuf_poll: Fix checking for POLLOUTNeil Roberts1-1/+1
This test has two subtests, one which polls for POLLIN on the dmabuf fd, and the other which looks like it's supposed to poll for POLLOUT. They are both implemented with a helper function that takes the polling flag as an argument. It looks like the helper actually ignores the argument and both subtests end up checking for POLLIN. This just fixes it to use the argument. Fixes: da42b17e45c1 ("igt/vc4_dmabuf_poll: Add a test for polling to wait for dmabuf") Signed-off-by: Neil Roberts <nroberts@igalia.com> Reviewed-by: Eric Anholt <eric@anholt.net>
2017-06-07igt/vc4_dmabuf_poll: Add a test for polling to wait for dmabuf fences.Eric Anholt1-0/+85
This successfully catches vc4's lack of dmabuf fencing. Signed-off-by: Eric Anholt <eric@anholt.net>