Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Juha-Pekka Heikkilä" <juhapekka.heikkila@gmail.com>
To: Luca Coelho <luciano.coelho@intel.com>, igt-dev@lists.freedesktop.org
Subject: Re: [PATCH i-g-t 1/3] tests/kms_universal_plane: remove redundant is_intel_device() check
Date: Fri, 27 Nov 2026 17:03:25 +0200	[thread overview]
Message-ID: <97a2e9a8-5be6-44fb-a78b-26639a16782f@gmail.com> (raw)
In-Reply-To: <20261126093003.492469-2-luciano.coelho@intel.com>

look ok
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>

On 26/11/2026 10.48, Luca Coelho wrote:
> cursor_leak_test_crtc() already calls igt_require_intel() at the
> start, so the is_intel_device() check before the vblank wait is
> always true.  Remove it.
> 
> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
> ---
>   tests/kms_universal_plane.c | 4 +---
>   1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/tests/kms_universal_plane.c b/tests/kms_universal_plane.c
> index ec2d070acddc..b01fb3d756f7 100644
> --- a/tests/kms_universal_plane.c
> +++ b/tests/kms_universal_plane.c
> @@ -716,9 +716,7 @@ cursor_leak_test_crtc(data_t *data, igt_crtc_t *crtc, igt_output_t *output)
>   	 * Therefore add 2 vblank wait to ensure that all cursor-related
>   	 * framebuffers can be removed before counting the framebuffer.
>   	 */
> -	if (is_intel_device(display->drm_fd))
> -		igt_wait_for_vblank_count(crtc,
> -					  2);
> +	igt_wait_for_vblank_count(crtc, 2);
>   
>   	/* We should be back to the same framebuffer count as when we started */
>   	count2 = intel_gem_fb_count(data);


  reply	other threads:[~2026-11-27 15:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26  8:48 [PATCH i-g-t 0/3] tests/kms: don't fail cursor-fb-leak because of leftover FBs Luca Coelho
2026-11-26  8:48 ` [PATCH i-g-t 1/3] tests/kms_universal_plane: remove redundant is_intel_device() check Luca Coelho
2026-11-27 15:03   ` Juha-Pekka Heikkilä [this message]
2026-11-26  8:48 ` [PATCH i-g-t 2/3] tests/kms_cursor_crc: clean up after a failed subtest Luca Coelho
2026-11-27 15:03   ` Juha-Pekka Heikkilä
2026-11-26  8:48 ` [PATCH i-g-t 3/3] tests/kms_universal_plane: count FBs after the first commit Luca Coelho
2026-11-27 15:04   ` Juha-Pekka Heikkilä
2026-11-27  1:41 ` ✓ Xe.CI.BAT: success for tests/kms: don't fail cursor-fb-leak because of leftover FBs Patchwork
2026-11-27  1:56 ` ✗ i915.CI.BAT: failure " Patchwork
2026-11-27 14:34 ` ✓ Xe.CI.FULL: success " 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=97a2e9a8-5be6-44fb-a78b-26639a16782f@gmail.com \
    --to=juhapekka.heikkila@gmail.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=luciano.coelho@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