[igt-dev] [PATCH i-g-t] tests/vc4_dmabuf_poll: Fix checking for POLLOUT

Eric Anholt eric at anholt.net
Thu Mar 11 17:18:25 UTC 2021


On Thu, Mar 11, 2021 at 2:08 AM Neil Roberts <nroberts at igalia.com> wrote:
>
> 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.

Reviewed-by: Eric Anholt <eric at anholt.net>


More information about the igt-dev mailing list