[igt-dev] [PATCH i-g-t v3] igt: Use lib gem_execbuf where possible

Antonio Argenziano antonio.argenziano at intel.com
Fri Feb 23 16:17:05 UTC 2018



On 23/02/18 02:01, Chris Wilson wrote:
> Quoting Chris Wilson (2018-02-23 09:21:11)
>> Quoting Antonio Argenziano (2018-02-23 00:54:38)
>>> diff --git a/tests/gem_exec_fence.c b/tests/gem_exec_fence.c
>>> index b415199f..9d95c982 100644
>>> --- a/tests/gem_exec_fence.c
>>> +++ b/tests/gem_exec_fence.c
>>> @@ -565,7 +553,7 @@ static void test_keep_in_fence(int fd, unsigned int engine, unsigned int flags)
>>>          last = -1;
>>>          count = 0;
>>>          do {
>>> -               int err = __execbuf(fd, &execbuf);
>>> +               int err = __gem_execbuf_wr(fd, &execbuf);
>>
>> Darn. But this still calls drmIoctl() and we need the EINTR escape.
> 
> Dropped the hunks to gem_exec_fence and pushed. Thanks!

Thanks for the reviews :).

Antonio

> -Chris
> 


More information about the igt-dev mailing list