public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Karthik B S <karthik.b.s@intel.com>
To: sumit kishore <sumit.kishore@intel.com>, <igt-dev@lists.freedesktop.org>
Cc: <pranay.samala@intel.com>
Subject: Re: [PATCH i-g-t v4] tests/kms_properties: Add skip on headless machines
Date: Thu, 16 Apr 2026 10:46:52 +0530	[thread overview]
Message-ID: <1b10d2c0-0045-4d7d-a005-3fa6f736b9de@intel.com> (raw)
In-Reply-To: <20260415104806.472042-1-sumit.kishore@intel.com>

Hi Sumit,

Based on the review received on v2, it would be better to verify on 
headless configs first if these tests are running and if these checks 
are really required in the first place.

Thanks and Regards,
Karthik.B.S

On 4/15/2026 4:18 PM, sumit kishore wrote:
> From: Sumit Kishore <sumit.kishore@intel.com>
>
> Skip the sub-tests on headless display systems.
>
> v2: Use existing library function, instead of
>      defining new (karthik)
> v3: Add headless display check in,
>      colorop_properties function (Pranay)
> v4: Update the commit message (Pranay)
>
> Signed-off-by: Sumit Kishore <sumit.kishore@intel.com>
> Reviewed-by: Pranay Samala <pranay.samala@intel.com>
> ---
>   tests/kms_properties.c | 6 ++++++
>   1 file changed, 6 insertions(+)
>
> diff --git a/tests/kms_properties.c b/tests/kms_properties.c
> index f735839da..5164277b3 100644
> --- a/tests/kms_properties.c
> +++ b/tests/kms_properties.c
> @@ -341,6 +341,8 @@ static void colorop_properties(igt_display_t *display, bool atomic)
>   	igt_output_t *output;
>   	igt_crtc_t *crtc;
>   
> +	igt_display_require_output(display);
> +
>   	/* colorops are only available with atomic */
>   	igt_skip_on(!display->is_atomic);
>   
> @@ -377,6 +379,8 @@ static void plane_properties(igt_display_t *display, bool atomic)
>   	igt_output_t *output;
>   	igt_crtc_t *crtc;
>   
> +	igt_display_require_output(display);
> +
>   	for_each_crtc_with_single_output(display, crtc, output) {
>   		igt_display_reset(display);
>   
> @@ -400,6 +404,8 @@ static void crtc_properties(igt_display_t *display, bool atomic)
>   	igt_crtc_t *crtc;
>   	igt_output_t *output;
>   
> +	igt_display_require_output(display);
> +
>   	for_each_crtc_with_single_output(display, crtc, output) {
>   		igt_display_reset(display);
>   

      parent reply	other threads:[~2026-04-16  5:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-15 10:48 [PATCH i-g-t v4] tests/kms_properties: Add skip on headless machines sumit kishore
2026-04-15 13:06 ` ✓ i915.CI.BAT: success for tests/kms_properties: Add skip on headless machines (rev4) Patchwork
2026-04-15 13:14 ` ✓ Xe.CI.BAT: " Patchwork
2026-04-15 15:05 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-04-15 16:42 ` ✓ i915.CI.Full: success " Patchwork
2026-04-16  5:16 ` Karthik B S [this message]

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=1b10d2c0-0045-4d7d-a005-3fa6f736b9de@intel.com \
    --to=karthik.b.s@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=pranay.samala@intel.com \
    --cc=sumit.kishore@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox