Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Sharma, Swati2" <swati2.sharma@intel.com>
To: juhapekka.heikkila@gmail.com, igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t 3/3] tests/kms_display_modes: reduce exec. time for sim env
Date: Mon, 29 May 2023 20:10:24 +0530	[thread overview]
Message-ID: <bb4775e0-dad8-5036-734b-87817a77cea2@intel.com> (raw)
In-Reply-To: <2c6f4996-8548-2abd-eb19-3f4e4c07526b@gmail.com>

Thanks for the review. Pushed!

On 29-May-23 6:00 PM, Juha-Pekka Heikkila wrote:
> Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
> 
> On 26.5.2023 9.45, Swati Sharma wrote:
>> For simulation environment, we can reduce execution time
>> by running test only on one valid output on pipe.
>>
>> Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
>> ---
>>   tests/kms_display_modes.c | 6 ++++++
>>   1 file changed, 6 insertions(+)
>>
>> diff --git a/tests/kms_display_modes.c b/tests/kms_display_modes.c
>> index d69c7b93..b963c609 100644
>> --- a/tests/kms_display_modes.c
>> +++ b/tests/kms_display_modes.c
>> @@ -169,6 +169,12 @@ static void run_extendedmode_test(data_t *data) {
>>                                   pipe2, output2);
>>                   }
>>               }
>> +            /*
>> +             * For simulation env, no need to run
>> +             * test with each valid output on pipe.
>> +             */
>> +            if (igt_run_in_simulation())
>> +                break;
>>           }
>>       }
>>   }
> 

  reply	other threads:[~2023-05-29 14:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-26  6:45 [igt-dev] [PATCH i-g-t 1/3] tests/kms_cursor_crc: limit test to one pipe for sim Swati Sharma
2023-05-26  6:45 ` [igt-dev] [PATCH i-g-t 2/3] tests/tests/kms_cursor_crc: remove extra \n Swati Sharma
2023-05-29 12:30   ` Juha-Pekka Heikkila
2023-05-29 14:40     ` Sharma, Swati2
2023-05-26  6:45 ` [igt-dev] [PATCH i-g-t 3/3] tests/kms_display_modes: reduce exec. time for sim env Swati Sharma
2023-05-29 12:30   ` Juha-Pekka Heikkila
2023-05-29 14:40     ` Sharma, Swati2 [this message]
2023-05-26 13:02 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/3] tests/kms_cursor_crc: limit test to one pipe for sim Patchwork
2023-05-27  3:45 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-05-29 12:35 ` [igt-dev] [PATCH i-g-t 1/3] " Juha-Pekka Heikkila
2023-05-29 14:40   ` Sharma, Swati2

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bb4775e0-dad8-5036-734b-87817a77cea2@intel.com \
    --to=swati2.sharma@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=juhapekka.heikkila@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox