[igt-dev] [PATCH i-g-t 06/10] igt: add timeline test cases
Lionel Landwerlin
lionel.g.landwerlin at intel.com
Fri Jul 26 09:07:21 UTC 2019
On 26/07/2019 05:56, zhoucm1 wrote:
>
>
> 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
>
Thanks, will do once it's landed.
-Lionel
More information about the igt-dev
mailing list