Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Sharma, Swati2" <swati2.sharma@intel.com>
To: Bhanuprakash Modem <bhanuprakash.modem@intel.com>,
	igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [i-g-t] tests/kms_cursor_legacy: Avoid usage of same pipe on multiple outputs
Date: Wed, 13 Jul 2022 13:14:59 +0530	[thread overview]
Message-ID: <29367be8-e3f9-ed9d-041c-0db98ae95d53@intel.com> (raw)
In-Reply-To: <20220711141940.610063-1-bhanuprakash.modem@intel.com>

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

On 11-Jul-22 7:49 PM, Bhanuprakash Modem wrote:
> Sanitize the system state before starting the subtest.
> 
> Fixes: https://gitlab.freedesktop.org/drm/intel/-/issues/6198
> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
> ---
>   tests/kms_cursor_legacy.c | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/tests/kms_cursor_legacy.c b/tests/kms_cursor_legacy.c
> index fc4a291d..c5b2bd30 100644
> --- a/tests/kms_cursor_legacy.c
> +++ b/tests/kms_cursor_legacy.c
> @@ -429,6 +429,8 @@ static void flip(igt_display_t *display,
>   	results = mmap(NULL, PAGE_SIZE, PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0);
>   	igt_assert(results != MAP_FAILED);
>   
> +	igt_display_reset(display);
> +
>   	flip_pipe = find_connected_pipe(display, !!flip_pipe);
>   	cursor_pipe = find_connected_pipe(display, !!cursor_pipe);
>   

-- 
~Swati Sharma

      parent reply	other threads:[~2022-07-13  7:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-11 14:19 [igt-dev] [i-g-t] tests/kms_cursor_legacy: Avoid usage of same pipe on multiple outputs Bhanuprakash Modem
2022-07-11 15:26 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
2022-07-11 15:46   ` Modem, Bhanuprakash
2022-07-11 15:55     ` Vudum, Lakshminarayana
2022-07-11 15:54 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2022-07-11 20:03 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2022-07-13  7:44 ` Sharma, Swati2 [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=29367be8-e3f9-ed9d-041c-0db98ae95d53@intel.com \
    --to=swati2.sharma@intel.com \
    --cc=bhanuprakash.modem@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /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