[igt-dev] [PATCH i-g-t 1/3] tests/kms_cursor_crc: limit test to one pipe for sim

Sharma, Swati2 swati2.sharma at intel.com
Mon May 29 14:40:45 UTC 2023


Thanks for the review. Pushed!

On 29-May-23 6:05 PM, Juha-Pekka Heikkila wrote:
> Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
> 
> On 26.5.2023 9.45, Swati Sharma wrote:
>> To reduce execution time in simulation, lets limit test to
>> one pipe only.
>>
>> Signed-off-by: Swati Sharma <swati2.sharma at intel.com>
>> ---
>>   tests/kms_cursor_crc.c | 4 ++++
>>   1 file changed, 4 insertions(+)
>>
>> diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c
>> index 3a353a03..f837dbc4 100644
>> --- a/tests/kms_cursor_crc.c
>> +++ b/tests/kms_cursor_crc.c
>> @@ -728,6 +728,10 @@ static bool execution_constraint(enum pipe pipe)
>>           pipe != active_pipes[last_pipe])
>>           return true;
>> +    if (!extended && igt_run_in_simulation() &&
>> +        pipe != active_pipes[0])
>> +        return true;
>> +
>>       return false;
>>   }
> 


More information about the igt-dev mailing list