Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bommithi Sakeena <bommithi.sakeena@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: Swati Sharma <swati2.sharma@intel.com>
Subject: [Intel-xe] [PATCH 1/2] lib/xe: on xe driver use blitter with all tiling
Date: Fri, 22 Sep 2023 16:54:03 +0000	[thread overview]
Message-ID: <20230922165404.17649-1-bommithi.sakeena@intel.com> (raw)

From: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>

on xe driver need to use blitter with all tiling modifiers

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
---
 lib/igt_fb.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/igt_fb.c b/lib/igt_fb.c
index 4b592825d..c8a7b31a8 100644
--- a/lib/igt_fb.c
+++ b/lib/igt_fb.c
@@ -2557,7 +2557,8 @@ static bool use_blitter(const struct igt_fb *fb)
 	return fb->modifier == I915_FORMAT_MOD_4_TILED ||
 	       fb->modifier == I915_FORMAT_MOD_Y_TILED ||
 	       fb->modifier == I915_FORMAT_MOD_Yf_TILED ||
-	       (is_i915_device(fb->fd) && !gem_has_mappable_ggtt(fb->fd));
+	       (is_i915_device(fb->fd) && !gem_has_mappable_ggtt(fb->fd)) ||
+	       is_xe_device(fb->fd);
 }
 
 static void init_buf_ccs(struct intel_buf *buf, int ccs_idx,
-- 
2.34.1


             reply	other threads:[~2023-09-22 16:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-22 16:54 Bommithi Sakeena [this message]
2023-09-22 16:54 ` [Intel-xe] [PATCH 2/2] tests/xe_drm_fdinfo: Add tests to read and verify fdinfo Bommithi Sakeena
2023-09-22 16:56 ` [Intel-xe] ✗ CI.Patch_applied: failure for series starting with [1/2] lib/xe: on xe driver use blitter with all tiling 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=20230922165404.17649-1-bommithi.sakeena@intel.com \
    --to=bommithi.sakeena@intel.com \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=swati2.sharma@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