Re: [igt-dev] [PATCH i-g-t 06/10] igt: add timeline test cases

Lionel Landwerlin
2019-07-26T09:07:27Z

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