All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sharma, Swati2" <swati2.sharma@intel.com>
To: Jeevan B <jeevan.b@intel.com>, <igt-dev@lists.freedesktop.org>
Subject: Re: [PATCH i-g-t] tests/kms_display_modes: reduce exec. time for sim env
Date: Wed, 3 Sep 2025 13:13:26 +0530	[thread overview]
Message-ID: <7ac4928d-2bfa-406c-81c9-a57d9fd19514@intel.com> (raw)
In-Reply-To: <20250901063616.1231617-1-jeevan.b@intel.com>

Hi Jeevan,

On 01-09-2025 12:06 pm, Jeevan B wrote:
> For simulation environment, we can reduce execution time
> by running test only with one combination.
>
> Signed-off-by: Jeevan B <jeevan.b@intel.com>
> ---
>   tests/kms_display_modes.c | 2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/tests/kms_display_modes.c b/tests/kms_display_modes.c
> index c93195b3c..97e12eb30 100644
> --- a/tests/kms_display_modes.c
> +++ b/tests/kms_display_modes.c
> @@ -221,6 +221,8 @@ static void run_extendedmode_test(data_t *data) {
>   			if (igt_run_in_simulation())
>   				break;
>   		}
> +		if (igt_run_in_simulation())
Calling igt_run_in_sim() looks redundant. Lets set a flag after calling 
it for first time and use that to break second loop.
> +			break;
>   	}
>   }
>   


  parent reply	other threads:[~2025-09-03  7:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-01  6:36 [PATCH i-g-t] tests/kms_display_modes: reduce exec. time for sim env Jeevan B
2025-09-01 13:22 ` ✓ Xe.CI.BAT: success for " Patchwork
2025-09-01 13:29 ` ✓ i915.CI.BAT: " Patchwork
2025-09-01 16:06 ` ✗ Xe.CI.Full: failure " Patchwork
2025-09-01 18:49 ` ✗ i915.CI.Full: " Patchwork
2025-09-03  7:43 ` Sharma, Swati2 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-04  3:43 [PATCH i-g-t] " Jeevan B
2025-09-17  8:08 ` 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=7ac4928d-2bfa-406c-81c9-a57d9fd19514@intel.com \
    --to=swati2.sharma@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=jeevan.b@intel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.