[igt-dev] [PATCH i-g-t v4] tests/kms_async_flips: Add test to validate asynchronous flips

Karthik B S karthik.b.s at intel.com
Fri Aug 7 09:31:34 UTC 2020



On 8/6/2020 8:19 PM, Michel Dänzer wrote:
> On 2020-08-06 3:29 p.m., Karthik B S wrote:
>> Asynchronous flips are issued using the page flip IOCTL.
>> The test consists of two subtests. The first subtest waits for
>> the page flip event to be received before giving the next flip,
>> and the second subtest doesn't wait for page flip events.
> 
> The latter sounds sketchy. It might get lucky most of the time, but if
> the previous flip is still pending, the ioctl will fail with EBUSY.
> 

Thanks for the review.
I will update the test to retry on getting EBUSY until 1 vblank time and 
then fail if we're still getting EBUSY.
> 
> Also, the test as is can only run on Intel GPUs.
> 

I will update this in the next revision.

Thanks,
Karthik.B.S
> 


More information about the igt-dev mailing list