[igt-dev] [PATCH i-g-t 06/10] igt: add timeline test cases
zhoucm1
zhoucm1 at amd.com
Fri Jul 26 02:56:14 UTC 2019
On 2019年07月25日 18:30, Lionel Landwerlin wrote:
> +static void
> +test_query_bad_pad(int fd)
> +{
> + struct drm_syncobj_timeline_array array = {};
> + uint32_t handle = 0;
> + int ret;
> +
> + array.pad = 0xdeadbeef;
> + array.count_handles = 1;
> + array.handles = to_user_pointer(&handle);
> + ret = igt_ioctl(fd, DRM_IOCTL_SYNCOBJ_QUERY, &array);
> + igt_assert(ret == -1 && errno == EINVAL);
> +}
We need remove this testing case as we extend this pad to be flags.
-David
More information about the igt-dev
mailing list