Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
To: igt-dev@lists.freedesktop.org
Subject: [PATCH i-g-t 2/3] lib/igt_fb: With Intel blitter path ignore legacy rules on Xe
Date: Wed, 20 Dec 2023 21:59:39 +0200	[thread overview]
Message-ID: <20231220195940.3778662-2-juhapekka.heikkila@gmail.com> (raw)
In-Reply-To: <20231220195940.3778662-1-juhapekka.heikkila@gmail.com>

If running with Xe device there's no need to care about legacy
size limitations, just say blitter is ok before checking for
legacy blitter size limits.

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
---
 lib/igt_fb.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/igt_fb.c b/lib/igt_fb.c
index 683eb176b..06374efa0 100644
--- a/lib/igt_fb.c
+++ b/lib/igt_fb.c
@@ -2513,6 +2513,9 @@ static bool blitter_ok(const struct igt_fb *fb)
 	     is_gen12_mc_ccs_modifier(fb->modifier))
 		return false;
 
+	if (is_xe_device(fb->fd))
+		return true;
+
 	for (int i = 0; i < fb->num_planes; i++) {
 		int width = fb->plane_width[i];
 
-- 
2.25.1

  reply	other threads:[~2023-12-20 19:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-20 19:59 [PATCH i-g-t 1/3] tests/i915/kms_big_fb: Add Cairo fallback path for test image creation Juha-Pekka Heikkila
2023-12-20 19:59 ` Juha-Pekka Heikkila [this message]
2023-12-21  5:00   ` [PATCH i-g-t 2/3] lib/igt_fb: With Intel blitter path ignore legacy rules on Xe Modem, Bhanuprakash
2023-12-21  5:00     ` Modem, Bhanuprakash
2023-12-20 19:59 ` [PATCH i-g-t 3/3] tests/i915/kms_big_fb: take out blitter fallback path as it is replaced with Cairo Juha-Pekka Heikkila
2023-12-21  8:20 ` [PATCH i-g-t 1/3] tests/i915/kms_big_fb: Add Cairo fallback path for test image creation Ville Syrjälä
  -- strict thread matches above, loose matches on Subject: below --
2023-12-21  9:49 Juha-Pekka Heikkila
2023-12-21  9:49 ` [PATCH i-g-t 2/3] lib/igt_fb: With Intel blitter path ignore legacy rules on Xe Juha-Pekka Heikkila

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=20231220195940.3778662-2-juhapekka.heikkila@gmail.com \
    --to=juhapekka.heikkila@gmail.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