Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Sharma, Swati2" <swati2.sharma@intel.com>
To: Santhosh Reddy Guddati <santhosh.reddy.guddati@intel.com>,
	<igt-dev@lists.freedesktop.org>
Subject: Re: [PATCH i-g-t v1] tests/kms_hdr: Skip brightness on non-internal panels
Date: Thu, 14 Nov 2024 12:21:29 +0530	[thread overview]
Message-ID: <5117ea62-81b6-4a5f-9b02-dd869de10f18@intel.com> (raw)
In-Reply-To: <20241113142555.2974018-1-santhosh.reddy.guddati@intel.com>

Hi Santosh,

Please add closes tag in the commit

Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/3312

Rest LGTM

Reviewed-by: Swati Sharma <swati2.sharma@intel.com>

On 13-11-2024 07:55 pm, Santhosh Reddy Guddati wrote:

> Skip the brightness test if the output is not an internal panel and log
> the skip message.
>
> Signed-off-by: Santhosh Reddy Guddati <santhosh.reddy.guddati@intel.com>
> ---
>   tests/kms_hdr.c | 6 ++++++
>   1 file changed, 6 insertions(+)
>
> diff --git a/tests/kms_hdr.c b/tests/kms_hdr.c
> index b67902d43..c4c9df3fc 100644
> --- a/tests/kms_hdr.c
> +++ b/tests/kms_hdr.c
> @@ -696,6 +696,12 @@ static void test_hdr(data_t *data, uint32_t flags)
>   			continue;
>   		}
>   
> +		if ((flags & TEST_BRIGHTNESS) && !output_is_internal_panel(output)) {
> +			igt_info("%s: Can't run brightness test on non-internal panel.\n",
> +				 igt_output_name(output));
> +			continue;
> +		}
> +
>   		for_each_pipe(display, pipe) {
>   			igt_output_set_pipe(output, pipe);
>   			if (!intel_pipe_output_combo_valid(display)) {

  parent reply	other threads:[~2024-11-14  6:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-13 14:25 [PATCH i-g-t v1] tests/kms_hdr: Skip brightness on non-internal panels Santhosh Reddy Guddati
2024-11-13 16:46 ` ✗ GitLab.Pipeline: warning for " Patchwork
2024-11-13 17:06 ` ✓ CI.xeBAT: success " Patchwork
2024-11-13 17:07 ` ✓ Fi.CI.BAT: " Patchwork
2024-11-13 19:41 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-11-14  0:55 ` ✗ CI.xeFULL: " Patchwork
2024-11-14  6:10 ` [PATCH i-g-t v1] " Samala, Pranay
2024-11-14  6:51 ` Sharma, Swati2 [this message]
2024-11-18 11:51 ` ✓ Fi.CI.IGT: success for " Patchwork

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=5117ea62-81b6-4a5f-9b02-dd869de10f18@intel.com \
    --to=swati2.sharma@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=santhosh.reddy.guddati@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